Re: [PATCH v7 3/6] qemu: track quiesced status in qemuDomainSnapshotFSFreeze

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

 



On 05/01/2014 06:06 PM, Tomoki Sekiyama wrote:
> Adds 'quiesced' status into qemuDomainObjPrivate that tracks whether
> FSFreeze is requested in the domain.
> 
> It modifies error code from qemuDomainSnapshotFSFreeze and
> qemuDomainSnapshotFSThaw, so that a caller can know whether the command is
> actually sent to the guest agent. If the error is caused before sending a
> freeze command, a counterpart thaw command shouldn't be sent either, not to
> confuse fsfreeze status tracking.
> 
> Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@xxxxxxx>
> ---
>  src/qemu/qemu_domain.c |    5 +++
>  src/qemu/qemu_domain.h |    2 +
>  src/qemu/qemu_driver.c |   70 +++++++++++++++++++++++++++++++++++++++---------
>  3 files changed, 64 insertions(+), 13 deletions(-)
> 

> -qemuDomainSnapshotFSFreeze(virDomainObjPtr vm)
> +qemuDomainSnapshotFSFreeze(virQEMUDriverPtr driver,
> +                           virDomainObjPtr vm)
>  {
>      qemuDomainObjPrivatePtr priv = vm->privateData;
> +    virQEMUDriverConfigPtr cfg;
>      int freezed;

Pre-existing, but we should do a cleanup of s/freezed/frozen/

Pushed per Dan's ack

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]