Nir Soffer has posted comments on this change.
Change subject: freeze: Freeze guest even when creating memory snapshot
......................................................................
Patch Set 3:
(2 comments)
https://gerrit.ovirt.org/#/c/43299/3//COMMIT_MSG
Commit Message:
Line 10: probably done because qemu is pausing the vm for creating memory
Line 11: snapshot.
Line 12:
Line 13: However, this is not consistent with snapshots of external disks such as
Line 14: network disks, where we always freeze the vm before taking the snapshot.
per doc quiesce require disk_only. So it should not be used together
with m
Right, but the libvir code does not agree with this, supporting disk + memory
+ quiesce snapshot.
See qemuDomainSnapshotCreateXML in src/qemu/qemu_driver.c
Line 15: Also, it is probably safer to freeze even when creating memory snapshot,
Line 16: giving applications on the guest chance to pause in consistent state.
Line 17:
Line 18: This patch removes the check for memory snapshot, and freeze the guest
Line 12:
Line 13: However, this is not consistent with snapshots of external disks such as
Line 14: network disks, where we always freeze the vm before taking the snapshot.
Line 15: Also, it is probably safer to freeze even when creating memory snapshot,
Line 16: giving applications on the guest chance to pause in consistent state.
I meant it's unneeded because QEMU itself will provide a
consistency. You d
But it does not run the fsfreeze-hooks - so application depending
on these hooks may not be ready for a snapshot, for example, in the middle of a
transaction with half baked data on disk.
Line 17:
Line 18: This patch removes the check for memory snapshot, and freeze the guest
Line 19: unless it is already frozen.
Line 20:
--
To view, visit
https://gerrit.ovirt.org/43299
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8aa7ac0dea8690ca33df8067f84734d788da8bf8
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Adam Litke <alitke(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Gal Hammer <ghammer%redhat.com(a)gtempaccount.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: Yes