[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 05 of 21] CP-1803: when reverting from snapshots, do not overwrite vm protection policy



 ocaml/database/db_names.ml     |  1 +
 ocaml/xapi/xapi_vm_snapshot.ml |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)


# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1282322886 -3600
# Node ID 14b8cda3a3a872ab338ae6fb7e0c6adef2131a98
# Parent  83c6ee451c6ee85f4255f470d5f89f9a0fa8c39a
CP-1803: when reverting from snapshots, do not overwrite vm protection policy

Signed-off-by: Marcus Granado <marcus.granado@xxxxxxxxxxxxx>

diff -r 83c6ee451c6e -r 14b8cda3a3a8 ocaml/database/db_names.ml
--- a/ocaml/database/db_names.ml
+++ b/ocaml/database/db_names.ml
@@ -43,3 +43,4 @@
 let ha_always_run = "ha_always_run"
 let host = "host"
 let bios_strings = "bios_strings"
+let protection_policy = "protection_policy"
diff -r 83c6ee451c6e -r 14b8cda3a3a8 ocaml/xapi/xapi_vm_snapshot.ml
--- a/ocaml/xapi/xapi_vm_snapshot.ml
+++ b/ocaml/xapi/xapi_vm_snapshot.ml
@@ -353,6 +353,7 @@
        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 = [ 

Attachment: xen-api.hg-05.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.