CA-78558: Fix marking of VIFs as disconnected.
CA-78558: Fix marking of VIFs as disconnected.

Previously the disconnect flag as determined by the VIF's locking mode
overwrote the disconnect flag as determined by the VIF's carrier field.

After this patch, the disconnect flag is set if the VIF's carrier field
is false, OR if the the VIF is disabled.

Signed-off-by: John Else <37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com>

koushikcgit/xen-api,cheng-z/xen-api,agimofcarmen/xen-api,anoobs/xen-api,vasilenkomike/xen-api,djs55/xen-api,huizh/xen-api,Frezzle/xen-api,djs55/xen-api,simonjbeaumont/xen-api,jjd27/xen-api,salvocambria/xen-api,Frezzle/xen-api,guard163/xen-api,robertbreker/xen-api,vasilenkomike/xen-api,Frezzle/xen-api,cheng--zhang/xen-api,vasilenkomike/xen-api,simonjbeaumont/xen-api,srowe/xen-api,cheng-z/xen-api,salvocambria/xen-api,thomassa/xen-api,koushikcgit/xen-api,euanh/xen-api,salvocambria/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,ravippandey/xen-api,jjd27/xen-api,cheng--zhang/xen-api,robertbreker/xen-api,euanh/xen-api,cheng-z/xen-api,cheng--zhang/xen-api,vasilenkomike/xen-api,srowe/xen-api,anoobs/xen-api,agimofcarmen/xen-api,euanh/xen-api,huizh/xen-api,agimofcarmen/xen-api,thomassa/xen-api,jjd27/xen-api,agimofcarmen/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,koushikcgit/xen-api,euanh/xen-api,simonjbeaumont/xen-api,koushikcgit/xen-api,huizh/xen-api,ravippandey/xen-api,guard163/xen-api,cheng-z/xen-api,guard163/xen-api,rafalmiel/xen-api,guard163/xen-api,agimofcarmen/xen-api,djs55/xen-api,huizh/xen-api,rafalmiel/xen-api,djs55/xen-api,simonjbeaumont/xen-api,guard163/xen-api,anoobs/xen-api,srowe/xen-api,jjd27/xen-api,djs55/xen-api,robertbreker/xen-api,Frezzle/xen-api,cheng-z/xen-api,rafalmiel/xen-api,koushikcgit/xen-api,huizh/xen-api,rafalmiel/xen-api,simonjbeaumont/xen-api,cheng--zhang/xen-api,thomassa/xen-api,anoobs/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,salvocambria/xen-api,ravippandey/xen-api,djs55/xen-api,rafalmiel/xen-api,salvocambria/xen-api,jjd27/xen-api,cheng-z/xen-api,ravippandey/xen-api,rafalmiel/xen-api,jjd27/xen-api,vasilenkomike/xen-api,thomassa/xen-api,euanh/xen-api,guard163/xen-api,cheng--zhang/xen-api,ravippandey/xen-api,anoobs/xen-api,euanh/xen-api,Frezzle/xen-api,robertbreker/xen-api,cheng-z/xen-api,anoobs/xen-api,srowe/xen-api,huizh/xen-api,srowe/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,thomassa/xen-api,ravippandey/xen-api,koushikcgit/xen-api