WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 05 of 21] CP-1803: when reverting from snapshots, do n

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH 05 of 21] CP-1803: when reverting from snapshots, do not overwrite vm protection policy
From: Marcus Granado <marcus.granado@xxxxxxxxxx>
Date: Fri, 20 Aug 2010 17:52:24 +0100
Delivery-date: Fri, 20 Aug 2010 10:31:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1282323139@localhost>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1282323139@localhost>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
 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