CA-106403: A timed out connection on writedb must be closed too.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-106403: The DB should be locked before being flushed on redo_log.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-106403: Fix pool-sync-database in case of failure with redo_logs.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-98090: (XOP-206) Block SXM when VM cannot match any bridge names on
destination.
Revert "CA-84673: Metadata import should create a network if it can't find one"

This reverts commit 99f82b7cecb961f9bf0da966a38e67bae618653b.
CA-111029: Switch to the C xenguest.
Attempt to reset PCI device by writing to device reset file if present.
Merge pull request #1413 from siddharthv/CA-113402-TR

CA-113402: Attempt to reset PCI device by writing to device PCI file. If that fails, fallback to the old method.
Check for BIOS strings on restart and update DB in case of mismatch.
CA-107600: Fix VM_appliance.shutdown for suspended domains in vApp.
Merge pull request #1352 from siddharthv/CA-107600

Fix VM_appliance.shutdown for suspended domains in vApp.
CA-113055: Take the right code path when domain is HVM.

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
Merge pull request #1379 from siddharthv/SCTX-1256

SCTX-1256: Check for BIOS strings on restart and update DB in case of mismatch
Add error "BRIDGE_NOT_AVAILABLE".
Merge pull request #1419 from vbmithr/CA-113055

CA-113055: Take the right code path when domain is HVM.
Merge pull request #1350 from siddharthv/CA-98090

CA-98090: (XOP-206) Block SXM when VM cannot match any bridge names on destination.
CA-110805: Add a function to find the host's VGA device

Signed-off-by: John Else <john.else@citrix.com>
CA-110805: Blacklist the system display device rather than creating a PGPU for it

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #1443 from johnelse/ca-110805

Don't create a PGPU or GPU_group for the system display device
CA-82314: networkd: introduce Linklocal6 IPv6 address mode

This commit redefines the IPv6 address mode "None6" to mean "no IPv6 address at
all, not even a link local one", and introduces the new mode Linklocal6, which
means "only IPv6 address, except a link local one".

Previously, it was not possible to get networkd to remove the link-local IPv6
address from an interface.

When a link local IPv6 address is requested, it is derived from the interface's
MAC address as commonly done.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-82314: nm: Allow (only) bridge interfaces to have a link-local IPv6 address

Due to a recent change in xcp-network, the None6 IPv6 address mode removes all
IPv6 addresses, including the link local one.  To avoid problems with bonding,
we only want bridge interfaces to have any IP addresses, while the physical
interfaces may not even have a link-local address.

This commit ensures that bridge interfaces are configured accordingly.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>