CP-8774: Add SR_TRIM as a known SR capability

Signed-off-by: Vineeth Raveendran <vineeth.thampi@citrix.com>
CA-114333: Allow Linux HVM guests to use >4 devices.

Windows PV drivers don't check the guest device name, but the Linux kernel does
With devices > 4, Linux expects them to be in xvdN format, so this patch ensures
that all devices are treated as Linux devices

Signed-off-by: Bob Ball <bob.ball@citrix.com>
CA-137468: Wait for ofport to settle before modifying ovs rules

The database may take some time for this value to become valid. Until then it
may return -1. In the VIF plug case we wait for this value to become valid
using the wait-until command provided with ovs-vsctl. For the VIF unplug case
we do not wait because once the value is -1 it will never become not -1 again.
In the case where the ofport returned is -1 (now only the unplug case) we no
longer delete the rules in the flow table since, in some versions of ovs,
the -1 can act as a wildcard in the deletion, deleting far more than desired.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1794 from simonjbeaumont/ca-137468-creedence

[xs64bit] CA-137468: Wait for ofport to settle before modifying ovs rules
CA-137722: Determining gateway and dns appropriately.

If bring_pif_up is called for management interface then passing
that pif to determine_gateway_and_dns_ifs function else passing None.

Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Merge pull request #1793 from ravippandey/CA-137722

 CA-137722: Determining gateway and dns appropriately.
Move generally useful event_wait code to lib

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Remove redundant definition

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
CA-134757: Queue the VM.remove operation

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #1792 from akshayramani/Linux_HVM

CA-114333: Allow Linux HVM guests to use >4 devices
Merge pull request #1796 from jonludlam/CA-134757-creedence

CA-134757
Merge pull request #1795 from vineetht/CP-8774

[xs64bit] CP-8774: Add SR_TRIM as a known SR capability
CA-137467: Move get_private_path into shared location

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-137467: Move cancel paths into private XenStore tree

Move all of the xenopsd paths out of the paths used by the XenBus protocol
(/local/domain/<backend-domid>/<device-kind>/<frontend-domid>/...) and into the
already-existing private subtree it maintains.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-137813: Enable coredumps for v6d

Temporary change for fault repro.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #1802 from euanh/ca-137813

Ca 137813: Temporarily enable core dumps for v6d
Add back in internal updates

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Add local_updates param to event_wait

This is so it can be used with the two different updates objects

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #1803 from jonludlam/fix_bvt_blocker

[XS64BIT] Fix bvt blocker
CA-137848: Store the subsystem IDs and names the right way round

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