Re: [PATCH 2/7] lib: Add reason for a domain reaching the PMSUSPENDED state

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

 



On 07/18/2014 10:11 AM, Peter Krempa wrote:
> When libvirt reverts a snapshot in the PMSUSPENDED state we need to
> record how it entered this state. Add the "from snapshot" reason.
> ---
>  include/libvirt/libvirt.h.in | 3 +++
>  src/conf/domain_conf.c       | 3 ++-
>  tools/virsh-domain-monitor.c | 3 ++-
>  3 files changed, 7 insertions(+), 2 deletions(-)

Again, I'm not sure this is possible with current qemu.  Rather, what
really needs to happen is whatever we do when migrating an S3 guest or
doing a 'virsh restore file' on a file created by 'virsh save' on an S3
guest.  Basically, waking the file is forced to have the guest back in
pm wakeup state (or at best paused).

Yes, if future qemu is ever patched to support S3 migration, then we can
revisit this.  But that won't be qemu 2.1, so I don't think we need this
patch.

-- 
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]