Re: [Qemu-devel] [PATCH 1/5] vfio/migration: define kernel interfaces

2019-02-20 Thread Zhao Yan
On Wed, Feb 20, 2019 at 06:08:13PM +0100, Cornelia Huck wrote: > On Wed, 20 Feb 2019 02:36:36 -0500 > Zhao Yan wrote: > > > On Tue, Feb 19, 2019 at 02:09:18PM +0100, Cornelia Huck wrote: > > > On Tue, 19 Feb 2019 16:52:14 +0800 > > > Yan Zhao wrote: > (...) > > > > + * Size of device co

Re: [Qemu-devel] [PATCH 1/5] vfio/migration: define kernel interfaces

2019-02-20 Thread Cornelia Huck
On Wed, 20 Feb 2019 02:36:36 -0500 Zhao Yan wrote: > On Tue, Feb 19, 2019 at 02:09:18PM +0100, Cornelia Huck wrote: > > On Tue, 19 Feb 2019 16:52:14 +0800 > > Yan Zhao wrote: (...) > > > + * Size of device config data is smaller than or equal to that > > > of > > > + * device

Re: [Qemu-devel] [PATCH 1/5] vfio/migration: define kernel interfaces

2019-02-19 Thread Zhao Yan
On Tue, Feb 19, 2019 at 02:09:18PM +0100, Cornelia Huck wrote: > On Tue, 19 Feb 2019 16:52:14 +0800 > Yan Zhao wrote: > > > - defined 4 device states regions: one control region and 3 data regions > > - defined layout of control region in struct vfio_device_state_ctl > > - defined 4 device states

Re: [Qemu-devel] [PATCH 1/5] vfio/migration: define kernel interfaces

2019-02-19 Thread Cornelia Huck
On Tue, 19 Feb 2019 16:52:14 +0800 Yan Zhao wrote: > - defined 4 device states regions: one control region and 3 data regions > - defined layout of control region in struct vfio_device_state_ctl > - defined 4 device states: running, stop, running&logging, stop&logging > - define 3 device data cat

[Qemu-devel] [PATCH 1/5] vfio/migration: define kernel interfaces

2019-02-19 Thread Yan Zhao
- defined 4 device states regions: one control region and 3 data regions - defined layout of control region in struct vfio_device_state_ctl - defined 4 device states: running, stop, running&logging, stop&logging - define 3 device data categories: device config, device memory, system memory - defi