Re: [PATCH QEMU v23 06/18] vfio: Add VM state change handler to know state of VM

2020-05-21 Thread Dr. David Alan Gilbert
* Kirti Wankhede (kwankh...@nvidia.com) wrote: > VM state change handler gets called on change in VM's state. This is used to > set > VFIO device state to _RUNNING. > > Signed-off-by: Kirti Wankhede > Reviewed-by: Neo Jia Reviewed-by: Dr. David Alan Gilbert > --- > hw/vfio/migration.c

[PATCH QEMU v23 06/18] vfio: Add VM state change handler to know state of VM

2020-05-20 Thread Kirti Wankhede
VM state change handler gets called on change in VM's state. This is used to set VFIO device state to _RUNNING. Signed-off-by: Kirti Wankhede Reviewed-by: Neo Jia --- hw/vfio/migration.c | 87 +++ hw/vfio/trace-events | 2 + include/hw