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>
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
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
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
Fix XenAPI.py on python2.7

This fix was made by Mike Mcclurg here:

https://bugs.launchpad.net/xcp/+bug/917913

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #1471 from djs55/python2.7

Fix XenAPI.py on python2.7
CA-114777: Revert "Fix XenAPI.py on python2.7"

Unfortunately python2.4 doesn't work with this fix.

This reverts commit 7cd259574198123e9152db4a483bae54eed15c95.

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

Revert "Fix XenAPI.py on python2.7"
CA-110947: Revert "Remove a modprobe warning in new systems."

This breaks switching to the bridge networking backend - this change
means /etc/modprobe.d/blacklist-bridge is not deleted when switching
to bridge, so after the host reboots it can't load the ethernet
bridging kernel module and networking is totally broken.

This reverts commit 37eee6eff0ce3fb4a0185e6f4aa03094c0668844.

Signed-off-by: John Else <john.else@citrix.com>