From 7d0a97d627770a578741e22927289c0738dab5c8 Mon Sep 17 00:00:00 2001 From: Marcus Granado Date: Mon, 23 Aug 2010 15:54:36 +0100 Subject: [PATCH] CP-1803: when reverting from snapshots, do not overwrite vm protection policy Signed-off-by: Marcus Granado --- ocaml/database/db_names.ml | 1 + ocaml/xapi/xapi_vm_snapshot.ml | 1 + 2 files changed, 2 insertions(+) diff --git a/ocaml/database/db_names.ml b/ocaml/database/db_names.ml index 82b2b6fc..7f5d0d26 100644 --- a/ocaml/database/db_names.ml +++ b/ocaml/database/db_names.ml @@ -43,3 +43,4 @@ let domid = "domid" let ha_always_run = "ha_always_run" let host = "host" let bios_strings = "bios_strings" +let protection_policy = "protection_policy" diff --git a/ocaml/xapi/xapi_vm_snapshot.ml b/ocaml/xapi/xapi_vm_snapshot.ml index 120b7cfe..1bb04a5b 100644 --- a/ocaml/xapi/xapi_vm_snapshot.ml +++ b/ocaml/xapi/xapi_vm_snapshot.ml @@ -353,6 +353,7 @@ let do_not_copy = [ Db_names.guest_metrics; Db_names.resident_on; Db_names.domid; + Db_names.protection_policy; Db_names.scheduled_to_be_resident_on ] let default_values = [ -- 2.39.5