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-111029: Switch to the C xenguest.
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>
CP-4148:Ensure that the default behaviour for emulated monitor is null
Signed-off-by: Akshay Ramani <akshay.ramani@citrix.com>
Merge pull request #1447 from robhoes/ca82314

CA-82314: remove link-local IPv6 addresses from physical interfaces
Allow xe vm-snapshot be run with multiple vms.

xe help vm-snapshot documents that this is how the command should
behave. Looking back through the `blame' of this line doesn't seem to
indicate any reason to disallow this.
Replace hard-coded mail-alarm sender with a user-setable value.

Without this patch, email from the pool are sent from
noreply@${FSQN}. Some organisations setup their email so as to only
allow emails from  whitelist of addresses, so are unable to get mail
alerts.

This patch lets the administrator run:
xe pool-param-set other-config:mail-sender=${SENDER}
to choose an whitelisted address.
Add missing () to call to getfqdn in mail-alarm
Revert "CA-108916: add call to V6rpc.get_current_edition API"

This reverts commit 04f4d921c9d657f928fb4768abc390095b1418cc.
CA-113278: This commit was causing many testcases to fail. Reverting the commit for now till we figure out a better way to fix the original problem.

Signed-off-by: Akshay <akshay.ramani@citrix.com>
Fix bash_completion for "xe host-cpu-info".
Merge pull request #1422 from siddharthv/bash_completion

CA-110748: Fix bash_completion for "xe host-cpu-info".
CA-113612: Uncomment hvm_check_pvdriver in Domain.shutdown_wait_for_ack

The last two changes in this function (e8a7d8229c426a573bf461a0667993ed7644b28e
and 939cd11ecfa56daafc2daa1c3c81b1a2b97b0ffa) seem to have accidentally
commented-out an essential check.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1462 from robhoes/ca113612

CA-113612: Uncomment hvm_check_pvdriver in Domain.shutdown_wait_for_ack
Correct /sys path for iovirt plugin.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
CA-99034: Fix unit for DS:memory_internal_free.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
CA-112284: Be more careful with errors from start_paused

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #1469 from jonludlam/CA-112284

CA-112284: Be more careful with errors from start_paused