Re: [PATCH V3 07/22] cpr

2021-05-18 Thread Stefan Hajnoczi
On Fri, May 14, 2021 at 11:14:44AM -0400, Steven Sistare wrote: > On 5/14/2021 7:28 AM, Stefan Hajnoczi wrote: > > On Thu, May 13, 2021 at 04:21:02PM -0400, Steven Sistare wrote: > >> On 5/12/2021 12:19 PM, Stefan Hajnoczi wrote: > >>> On Fri, May 07, 2021 at 05:25:05AM -0700, Steve Sistare wrote:

Re: [PATCH V3 07/22] cpr

2021-05-14 Thread Steven Sistare
On 5/14/2021 7:28 AM, Stefan Hajnoczi wrote: > On Thu, May 13, 2021 at 04:21:02PM -0400, Steven Sistare wrote: >> On 5/12/2021 12:19 PM, Stefan Hajnoczi wrote: >>> On Fri, May 07, 2021 at 05:25:05AM -0700, Steve Sistare wrote: To use the restart mode, qemu must be started with the memfd-alloc

Re: [PATCH V3 07/22] cpr

2021-05-14 Thread Stefan Hajnoczi
On Thu, May 13, 2021 at 04:21:02PM -0400, Steven Sistare wrote: > On 5/12/2021 12:19 PM, Stefan Hajnoczi wrote: > > On Fri, May 07, 2021 at 05:25:05AM -0700, Steve Sistare wrote: > >> To use the restart mode, qemu must be started with the memfd-alloc machine > >> option. The memfd's are saved to t

Re: [PATCH V3 07/22] cpr

2021-05-13 Thread Steven Sistare
On 5/12/2021 12:19 PM, Stefan Hajnoczi wrote: > On Fri, May 07, 2021 at 05:25:05AM -0700, Steve Sistare wrote: >> To use the restart mode, qemu must be started with the memfd-alloc machine >> option. The memfd's are saved to the environment and kept open across exec, >> after which they are found

Re: [PATCH V3 07/22] cpr

2021-05-12 Thread Stefan Hajnoczi
On Fri, May 07, 2021 at 05:25:05AM -0700, Steve Sistare wrote: > To use the restart mode, qemu must be started with the memfd-alloc machine > option. The memfd's are saved to the environment and kept open across exec, > after which they are found from the environment and re-mmap'd. Hence guest >

[PATCH V3 07/22] cpr

2021-05-07 Thread Steve Sistare
Provide the cprsave and cprload functions for live update. These save and restore VM state, with minimal guest pause time, so that qemu may be updated to a new version in between. cprsave stops the VM and saves vmstate to an ordinary file. It supports two modes: restart and reboot. For restart,