Move /xapi/* -> /xenops/* in XenStore

It's really xenops that's using these paths so it makes sense that these paths
be under that name.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-6271: Set default mode for XSM checks to use UUIDs

After this change the code at xapi_vm_migrate.ml:362 will
check if the VDI exists (by UUID) in the destination SR.
If it does, a mirror will not be performed as the VDI already exists.

The original behaviour can be used by setting the value to false in xapi.conf

Signed-off-by: Bob Ball <bob.ball@citrix.com>
CP-6172: Add VBD.other_config:backend-kind

Note: this change is co-dependent on a change in xenopsd.

Blktap3 and kernel blkback need to co-exist and, since kernel blkback watches
keys in the /local/domain/0/vbd/ tree, the paths for blktap3 need to be moved.

A new key has been added to the other_config field of the VBD record which is
passed through to xenopsd to determine where to place the VBD's XenStore
entries.

Signed-off-by: Si Beaumont <simon.beaumont@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>

Conflicts:

	ocaml/xenops/device_number.ml
CA-99828 Add a new bond option: lacp-fallback-ab

lacp-fallback-ab allows lacp bond to fallback to active-backup
when there is no lacp partner.

Signed-off-by: Ravi Kondamuru <Ravi.Kondamuru@citrix.com>
CA-119831 Apply GRO settings to bond and vlan interfaces
Ethtool settings (Generic Receive Offload etc.) need to be set on the
bond and VLAN devices where applicable.

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
Update datamodel.ml

Clarifying the event class documentation. from is better than next and correcting the return from "from" to include the token which was absent.
CA-118027: Don't send RPC calls that are too large

The request size limit is known by xapi and so slaves shouldn't try and send
requests that it knows will be rejected.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>

Conflicts:
	ocaml/database/master_connection.ml

Resolved-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1529 from rhb21/patch-1

Update datamodel.ml
Merge pull request #1525 from ravikondamuru/CA-99828

CA-99828 Add a new bond option: lacp-fallback-ab
Merge pull request #1498 from BobBall/cp-6271

CP-6271: Set default mode for XSM checks to use UUIDs
Merge pull request #1452 from BobBall/device_numbering

CA-114333: Allow Linux HVM guests to use >4 devices.
CA-116596 fix the fix for log-censoring

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
Merge pull request #1527 from thomassa/CA-116596-logfixfix

CA-116596 fix the fix for log-censoring
CA-118466: Prevent snapshot revert from deleting VM VDIs that were attached
after the snapshot was taken.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Remove a load of identical definitions of set_difference

Signed-off-by: John Else <john.else@citrix.com>
Remove unused function for handling RHEL3

This function hasn't been used since Oxford, and we haven't supported
RHEL 3 for a while.

Signed-off-by: John Else <john.else@citrix.com>
Remove redundant import code

These files aren't being compiled.

Signed-off-by: John Else <john.else@citrix.com>
Remove some more code that isn't being compiled

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

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