[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V1 00/32] Live Update
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH V1 00/32] Live Update |
Date: |
Thu, 30 Jul 2020 19:15:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 30/07/20 17:14, Steve Sistare wrote:
> The first set of patches adds the cprsave and cprload commands to save and
> restore VM state, and allow the host kernel to be updated and rebooted in
> between. The VM must create guest RAM in a persistent shared memory file,
> such as /dev/dax0.0 or persistant /dev/shm PKRAM as proposed in
> https://lore.kernel.org/lkml/1588812129-8596-1-git-send-email-anthony.yznaga@oracle.com/
>
> cprsave stops the VCPUs and saves VM device state in a simple file, and
> thus supports any type of guest image and block device. The caller must
> not modify the VM's block devices between cprsave and cprload.
Stupid question, what does cpr stand for? If it is checkpoint/restore,
please spell it out. Also, how does the functionality compare to
xen-save-devices-state and xen-load-devices-state?
> cprsave and cprload support guests with vfio devices if the caller first
> suspends the guest by issuing guest-suspend-ram to the qemu guest agent.
> The guest drivers suspend methods flush outstanding requests and re-
> initialize the devices, and thus there is no device state to save and
> restore.
This probably should be allowed even for regular migration. Can you
generalize the code as a separate series?
Thanks,
Paolo
- [PATCH V1 26/32] monitor: save/restore QMP negotiation status, (continued)
- [PATCH V1 26/32] monitor: save/restore QMP negotiation status, Steve Sistare, 2020/07/30
- [PATCH V1 30/32] vfio-pci: save and restore, Steve Sistare, 2020/07/30
- [PATCH V1 32/32] vfio-pci: improved tracing, Steve Sistare, 2020/07/30
- [PATCH V1 27/32] vhost: reset vhost devices upon cprsave, Steve Sistare, 2020/07/30
- Re: [PATCH V1 00/32] Live Update, Daniel P . Berrangé, 2020/07/30
Re: [PATCH V1 00/32] Live Update,
Paolo Bonzini <=
Re: [PATCH V1 00/32] Live Update, Dr. David Alan Gilbert, 2020/07/30