Re: [PATCH V5 16/25] vfio-pci: cpr part 1

2021-07-30 Thread Steven Sistare
On 7/28/2021 12:56 AM, Zheng Chuan wrote: > On 2021/7/8 1:20, Steve Sistare wrote: >> Enable vfio-pci devices to be saved and restored across an exec restart >> of qemu. >> >> [...] >> --- a/migration/cpr.c >> +++ b/migration/cpr.c >> @@ -31,6 +31,13 @@ >> #include "hw/virtio/vhost.h" >> #include

Re: [PATCH V5 16/25] vfio-pci: cpr part 1

2021-07-27 Thread Zheng Chuan
Hi On 2021/7/8 1:20, Steve Sistare wrote: > Enable vfio-pci devices to be saved and restored across an exec restart > of qemu. > > At vfio creation time, save the value of vfio container, group, and device > descriptors in the environment. > > In cprsave and cprexec, suspend the use of virtual a

Re: [PATCH V5 16/25] vfio-pci: cpr part 1

2021-07-19 Thread Steven Sistare
On 7/16/2021 1:45 PM, Alex Williamson wrote: > On Wed, 7 Jul 2021 10:20:25 -0700 > Steve Sistare wrote: >> diff --git a/hw/vfio/common.c b/hw/vfio/common.c >> index 9220e64..40c882f 100644 >> --- a/hw/vfio/common.c >> +++ b/hw/vfio/common.c >> @@ -31,6 +31,7 @@ >> #include "exec/memory.h" >> #i

Re: [PATCH V5 16/25] vfio-pci: cpr part 1

2021-07-16 Thread Alex Williamson
On Wed, 7 Jul 2021 10:20:25 -0700 Steve Sistare wrote: > diff --git a/hw/vfio/common.c b/hw/vfio/common.c > index 9220e64..40c882f 100644 > --- a/hw/vfio/common.c > +++ b/hw/vfio/common.c > @@ -31,6 +31,7 @@ > #include "exec/memory.h" > #include "exec/ram_addr.h" > #include "hw/hw.h" > +#inclu