Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-18 Thread Kirti Wankhede
On 4/18/2018 3:06 AM, Alex Williamson wrote: > On Wed, 18 Apr 2018 02:41:44 +0530 > Kirti Wankhede wrote: > >> On 4/18/2018 1:39 AM, Alex Williamson wrote: >>> On Wed, 18 Apr 2018 00:44:35 +0530 >>> Kirti Wankhede wrote: >>> On 4/17/2018

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Alex Williamson
On Wed, 18 Apr 2018 02:41:44 +0530 Kirti Wankhede wrote: > On 4/18/2018 1:39 AM, Alex Williamson wrote: > > On Wed, 18 Apr 2018 00:44:35 +0530 > > Kirti Wankhede wrote: > > > >> On 4/17/2018 8:13 PM, Alex Williamson wrote: > >>> On Tue, 17 Apr

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Kirti Wankhede
On 4/18/2018 1:39 AM, Alex Williamson wrote: > On Wed, 18 Apr 2018 00:44:35 +0530 > Kirti Wankhede wrote: > >> On 4/17/2018 8:13 PM, Alex Williamson wrote: >>> On Tue, 17 Apr 2018 13:40:32 + >>> "Zhang, Yulei" wrote: >>> > -Original

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Alex Williamson
On Wed, 18 Apr 2018 00:44:35 +0530 Kirti Wankhede wrote: > On 4/17/2018 8:13 PM, Alex Williamson wrote: > > On Tue, 17 Apr 2018 13:40:32 + > > "Zhang, Yulei" wrote: > > > >>> -Original Message- > >>> From: Alex Williamson

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Kirti Wankhede
On 4/17/2018 8:13 PM, Alex Williamson wrote: > On Tue, 17 Apr 2018 13:40:32 + > "Zhang, Yulei" wrote: > >>> -Original Message- >>> From: Alex Williamson [mailto:alex.william...@redhat.com] >>> Sent: Tuesday, April 17, 2018 4:23 AM >>> To: Kirti Wankhede

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Alex Williamson
On Tue, 17 Apr 2018 13:40:32 + "Zhang, Yulei" wrote: > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Tuesday, April 17, 2018 4:23 AM > > To: Kirti Wankhede > > Cc: Zhang, Yulei

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-17 Thread Zhang, Yulei
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, April 17, 2018 4:23 AM > To: Kirti Wankhede > Cc: Zhang, Yulei ; qemu-devel@nongnu.org; Tian, > Kevin ;

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-16 Thread Alex Williamson
On Mon, 16 Apr 2018 20:14:27 +0530 Kirti Wankhede wrote: > On 4/10/2018 11:32 AM, Yulei Zhang wrote: > > VM status change handler is added to change the vfio pci device > > status during the migration, write the demanded device status > > to the DEVICE STATUS subregion to

Re: [Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-16 Thread Kirti Wankhede
On 4/10/2018 11:32 AM, Yulei Zhang wrote: > VM status change handler is added to change the vfio pci device > status during the migration, write the demanded device status > to the DEVICE STATUS subregion to stop the device on the source side > before fetch its status and start the deivce on the

[Qemu-devel] [RFC PATCH V4 2/4] vfio: Add vm status change callback to stop/restart the mdev device

2018-04-09 Thread Yulei Zhang
VM status change handler is added to change the vfio pci device status during the migration, write the demanded device status to the DEVICE STATUS subregion to stop the device on the source side before fetch its status and start the deivce on the target side after restore its status.