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

2020-10-24 Thread Kirti Wankhede
On 10/23/2020 5:02 PM, Cornelia Huck wrote: On Fri, 23 Oct 2020 16:10:31 +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 s

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

2020-10-23 Thread Cornelia Huck
On Fri, 23 Oct 2020 16:10:31 +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 v28 05/17] vfio: Add VM state change handler to know state of VM

2020-10-23 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 -