[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v13 1/8] save/load cpu runstate
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v13 1/8] save/load cpu runstate |
Date: |
Thu, 28 Feb 2013 14:12:37 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 02/28/2013 05:13 AM, Hu Tao wrote:
> This patch enables preservation of cpu runstate during save/load vm.
> So when a vm is restored from snapshot, the cpu runstate is restored,
> too.
What happens if a management app wants to override the runstate when
restoring the domain? I can think of several useful scenarios:
1. management app pauses the guest, then saves domain state and other
things (management state, or disk clones), then resumes the guest.
Later, the management wants to revert to the saved state, but have the
guest running right away. I guess here, knowing that the guest was
saved in a paused state doesn't hurt, since the management app can
resume it right away.
2. management app saves domain state of a live guest, then copies that
state elsewhere. In its new location, the management app wants to
investigate the state for forensic analysis - so even though the guest
remembers that it was running, management wants to start it paused.
Here, it is important that there must not be a window of time where the
guest can run, otherwise, the results are not reproducible.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v13 0/8] pv event interface between host and guest, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 2/8] start vm after resetting it, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 3/8] update kernel headers, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 1/8] save/load cpu runstate, Hu Tao, 2013/02/28
- Re: [Qemu-devel] [PATCH v13 1/8] save/load cpu runstate,
Eric Blake <=
- [Qemu-devel] [PATCH v13] kvm: notify host when the guest is panicked, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 8/8] pv event: add document to describe the usage, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 7/8] allower the user to disable pv event support, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 6/8] introduce a new qom device to deal with panicked event, Hu Tao, 2013/02/28