Re: [PATCH V3 12/22] vfio-pci: cpr part 1

2021-06-11 Thread Steven Sistare
On 6/11/2021 2:15 PM, Steven Sistare wrote: > On 5/24/2021 2:29 PM, Steven Sistare wrote: >> On 5/21/2021 6:24 PM, Alex Williamson wrote:> On Fri, 7 May 2021 05:25:10 >> -0700 >>> Steve Sistare wrote: >>> [...] diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 7a4fb6c..f7ac9f03 100

Re: [PATCH V3 12/22] vfio-pci: cpr part 1

2021-06-11 Thread Steven Sistare
On 5/24/2021 2:29 PM, Steven Sistare wrote: > On 5/21/2021 6:24 PM, Alex Williamson wrote:> On Fri, 7 May 2021 05:25:10 > -0700 >> Steve Sistare wrote: >> >>>[...] >>> diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c >>> index 7a4fb6c..f7ac9f03 100644 >>> --- a/hw/vfio/pci.c >>> +++ b/hw/vfio/pci.c >>

Re: [PATCH V3 12/22] vfio-pci: cpr part 1

2021-05-24 Thread Steven Sistare
On 5/21/2021 6:24 PM, Alex Williamson wrote:> On Fri, 7 May 2021 05:25:10 -0700 > 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 e

Re: [PATCH V3 12/22] vfio-pci: cpr part 1

2021-05-21 Thread Alex Williamson
On Fri, 7 May 2021 05:25:10 -0700 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, suspend the use of virtua

[PATCH V3 12/22] vfio-pci: cpr part 1

2021-05-07 Thread Steve Sistare
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, suspend the use of virtual addresses in DMA mappings with VFIO_DMA_UNMAP_FLAG_VADDR, because gues