Change in vdsm[master]: Use quiesce only if qgaEnable is enabled
fsimonce at redhat.com
fsimonce at redhat.com
Mon Aug 13 16:51:29 UTC 2012
Federico Simoncelli has uploaded a new change for review.
Change subject: Use quiesce only if qgaEnable is enabled
......................................................................
Use quiesce only if qgaEnable is enabled
Do not attempt to use the quiesce live snapshot flag if the guest agent
channel is not present.
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
Change-Id: I8a44758949d7a328117f4d759d8d9df1183eb058
---
M vdsm/libvirtvm.py
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/43/7143/1
diff --git a/vdsm/libvirtvm.py b/vdsm/libvirtvm.py
index 8bf5bb2..d8aecc1 100644
--- a/vdsm/libvirtvm.py
+++ b/vdsm/libvirtvm.py
@@ -1791,8 +1791,10 @@
self._volumesPrepared = False
snapFlags = (libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY |
- libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT |
- libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE)
+ libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT)
+
+ if utils.tobool(self.conf.get('qgaEnable', 'true')):
+ snapFlags |= libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE
while True:
try:
--
To view, visit http://gerrit.ovirt.org/7143
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a44758949d7a328117f4d759d8d9df1183eb058
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
More information about the vdsm-patches
mailing list