Re: [Qemu-devel] [PATCH v4 05/13] vfio: Add VM state change handler to know state of VM

2019-06-25 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. > VM state change handler, migration state change handler and log_sync listener > are called asynchronously, which sometimes lead to

[Qemu-devel] [PATCH v4 05/13] vfio: Add VM state change handler to know state of VM

2019-06-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. VM state change handler, migration state change handler and log_sync listener are called asynchronously, which sometimes lead to data corruption in migration region. Initialised mutex tha