Re: [PATCH v29 05/17] vfio: Add VM state change handler to know state of VM

2020-10-26 Thread Kirti Wankhede
On 10/26/2020 7:32 PM, Alex Williamson wrote: On Mon, 26 Oct 2020 19:18:51 +0530 Kirti Wankhede wrote: On 10/26/2020 6:30 PM, Alex Williamson wrote: On Mon, 26 Oct 2020 15:06:15 +0530 Kirti Wankhede wrote: VM state change handler is called on change in VM's state. Based on VM state,

Re: [PATCH v29 05/17] vfio: Add VM state change handler to know state of VM

2020-10-26 Thread Alex Williamson
On Mon, 26 Oct 2020 19:18:51 +0530 Kirti Wankhede wrote: > On 10/26/2020 6:30 PM, Alex Williamson wrote: > > On Mon, 26 Oct 2020 15:06:15 +0530 > > Kirti Wankhede wrote: > > > >> VM state change handler is called on change in VM's state. Based on > >> VM state, VFIO device state should be cha

Re: [PATCH v29 05/17] vfio: Add VM state change handler to know state of VM

2020-10-26 Thread Kirti Wankhede
On 10/26/2020 6:30 PM, Alex Williamson wrote: On Mon, 26 Oct 2020 15:06:15 +0530 Kirti Wankhede wrote: VM state change handler is called on change in VM's state. Based on VM state, VFIO device state should be changed. Added read/write helper functions for migration region. Added function to

Re: [PATCH v29 05/17] vfio: Add VM state change handler to know state of VM

2020-10-26 Thread Alex Williamson
On Mon, 26 Oct 2020 15:06:15 +0530 Kirti Wankhede wrote: > VM state change handler is called on change in VM's state. Based on > VM state, VFIO device state should be changed. > Added read/write helper functions for migration region. > Added function to set device_state. > > Signed-off-by: Kirti

[PATCH v29 05/17] vfio: Add VM state change handler to know state of VM

2020-10-26 Thread Kirti Wankhede
VM state change handler is called on change in VM's state. Based on VM state, VFIO device state should be changed. Added read/write helper functions for migration region. Added function to set device_state. Signed-off-by: Kirti Wankhede Reviewed-by: Neo Jia Reviewed-by: Dr. David Alan Gilbert R