Merge commit '07b00719a9449a95a8193763c148e15b43629f4e'
Merge commit 'd4da89417b35ff71710e5d85542c56e0c4842e1c'
Merge commit '93ff34406b4ea0bbee013e51df8cc255e452819b'
Merge commit 'acf078e7b5775d43b57d94e51ff24a156b238ad0'
Merge commit 'a5a764753e12fc4afe3dbe02a723a6cf38077b06'
Merge commit 'b3b2c768cdd8cd784aedc4deac50aedbe6760229'
Remove redundant checks from VM.set_is_a_template.

These checks are not needed as these cases are already handled by the
allowed_operations code.

Signed-off-by: John Else <john.else@citrix.com>
Proper CLI printing for error vm_assigned_to_protection_policy.

Signed-off-by: John Else <john.else@citrix.com>
Merge commit '941dab3debc7b35dca8f86642f057269521c2cd7'
Merge commit '64e730a274c0450e7eef580ceffddeb05ef6dc97'
Merge commit '3ca9c21862414fd4b91f489857f3e53e9c7f4f56'
Merge commit '1c0c9c59f90f43bec478962b12ee3efcea4c71c5'
Merge commit '018563d88f7d147c76d919c98a19c7217822b994'
Don't believe the result of Bindings.get_status if dev has no carrier, more efficient

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@ocamlpro.com>
CA-86833: Cannot delete VM if RRD daemon is not running in DOM0

This patch puts a try-catch-log wrapper around the relevant call from xapi
to xcp-rrdd.

Signed-off-by: Rok Strniša <rok.strnisa@citrix.com>
Merge commit '8c73b68b13c7b4cb86236f7a04157b12aa81004c'
Merge commit 'c3f4a73f4db92107688117e4b059480b443ba9c8'
CA-85231: Allow cross-pool migration only if VM has less than one snapshot and no checkpoints.

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@ocamlpro.com>
Improved updating of PIF metrics.

This fixes a bug where PIF metrics for the management interface would not be
updated for the management interface right after the first boot.

Signed-off-by: Rok Strniša <rok.strnisa@citrix.com>
Committed-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
CA-80695: Remove setting of MTU in vif frontend area as Boston windows PV
          drivers interpret it as maximum frame size.