Re: [PATCH V1 30/32] vfio-pci: save and restore

2020-08-20 Thread Jason Zeng
On Wed, Aug 19, 2020 at 05:15:11PM -0400, Steven Sistare wrote: > On 8/9/2020 11:50 PM, Jason Zeng wrote: > > On Fri, Aug 07, 2020 at 04:38:12PM -0400, Steven Sistare wrote: > >> On 8/6/2020 6:22 AM, Jason Zeng wrote: > >>> Hi Steve, > >>> > >&g

Re: [PATCH V1 30/32] vfio-pci: save and restore

2020-08-09 Thread Jason Zeng
On Fri, Aug 07, 2020 at 04:38:12PM -0400, Steven Sistare wrote: > On 8/6/2020 6:22 AM, Jason Zeng wrote: > > Hi Steve, > > > > On Thu, Jul 30, 2020 at 08:14:34AM -0700, Steve Sistare wrote: > >> @@ -3182,6 +3207,51 @@ static Property vfio_pci_dev_properties[] = { >

Re: [PATCH V1 30/32] vfio-pci: save and restore

2020-08-06 Thread Jason Zeng
Hi Steve, On Thu, Jul 30, 2020 at 08:14:34AM -0700, Steve Sistare wrote: > @@ -3182,6 +3207,51 @@ static Property vfio_pci_dev_properties[] = { > DEFINE_PROP_END_OF_LIST(), > }; > > +static int vfio_pci_post_load(void *opaque, int version_id) > +{ > +int vector; > +MSIMessage msg;

[PATCH] Add a parameter 'offset' for HostMemoryBackendFile

2019-11-27 Thread Jason Zeng
an mmap to different address ranges of the backing file. Signed-off-by: Jason Zeng --- backends/hostmem-file.c | 46 ++- exec.c| 20 ++--- hw/core/numa.c| 2 +- include/exec/memory.h | 1 + include/exec/ram_ad