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] remove VDI pausing from online snapshot now that the SM is res

To: "'xen-api@xxxxxxxxxxxxxxxxxxx'" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] remove VDI pausing from online snapshot now that the SM is responsible for it
From: Andrei Lifchits <Andrei.Lifchits@xxxxxxxxxx>
Date: Wed, 25 Aug 2010 08:40:20 -0700
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Wed, 25 Aug 2010 10:08:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActEa9MZiVttfv9cQvKD3M87eXJ3gA==
Thread-topic: remove VDI pausing from online snapshot now that the SM is responsible for it

# HG changeset patch

# User Andrei Lifchits <andrei.lifchits@xxxxxxxxxx>

# Date 1282750331 -3600

# Node ID 7b13bd78e5327009ad53951d51ce3f5270525e85

# Parent  b245586b01c8242d83376a26d1043d2ae6e376c0

Don't pause the VDI for online snapshots: the SM is now responsible for pausing

 

Signed-off-by: Julian Chesterfield <julian.chesterfield@xxxxxxxxxx>

 

diff -r b245586b01c8 -r 7b13bd78e532 ocaml/xapi/xapi_vdi.ml

--- a/ocaml/xapi/xapi_vdi.ml      Wed Aug 18 11:18:58 2010 +0100

+++ b/ocaml/xapi/xapi_vdi.ml   Wed Aug 25 16:32:11 2010 +0100

@@ -315,12 +315,7 @@

 

   (* While we don't have blkback support for pause/unpause we only do this

      for .vhd-based backends. *)

-  let vdi_info =

-    if Xen_helpers.kind_of_vdi ~__context ~self:vdi = Device_common.Tap then

-                              Sm.with_all_vbds_paused ~__context ~vdis:[vdi] call_snapshot

-    else

-                              call_snapshot () in

-

+  let vdi_info = call_snapshot () in

   let uuid = require_uuid vdi_info in

   let newvdi = Db.VDI.get_by_uuid ~__context ~uuid in

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] remove VDI pausing from online snapshot now that the SM is responsible for it, Andrei Lifchits <=