Re: [Qemu-devel] [PATCH V3 3/4] vfio: Add struct vfio_vmstate_info to introduce put/get callback funtion for vfio device status save/restore

2018-03-14 Thread Zhang, Yulei
Subject: Re: [Qemu-devel] [PATCH V3 3/4] vfio: Add struct vfio_vmstate_info > to introduce put/get callback funtion for vfio device status save/restore > > * Yulei Zhang (yulei.zh...@intel.com) wrote: > > Introduce vfio_device_put/vfio_device_get funtion for vfio device > > s

Re: [Qemu-devel] [PATCH V3 3/4] vfio: Add struct vfio_vmstate_info to introduce put/get callback funtion for vfio device status save/restore

2018-03-09 Thread Dr. David Alan Gilbert
* Yulei Zhang (yulei.zh...@intel.com) wrote: > Introduce vfio_device_put/vfio_device_get funtion for vfio device state > save/restore usage. > > For VFIO pci device status migrate, on the source side with > funtion vfio_device_put to save the following states > 1. pci configuration space addr0~add

[Qemu-devel] [PATCH V3 3/4] vfio: Add struct vfio_vmstate_info to introduce put/get callback funtion for vfio device status save/restore

2018-03-04 Thread Yulei Zhang
Introduce vfio_device_put/vfio_device_get funtion for vfio device state save/restore usage. For VFIO pci device status migrate, on the source side with funtion vfio_device_put to save the following states 1. pci configuration space addr0~addr5 2. pci configuration space msi_addr msi_data 3. pci de