Re: [Qemu-devel] [PATCH 0/2] virtio-scsi: fix hotplug ->reset() vs event race

2018-07-10 Thread l00284672
Ok, I will test your patch soon. On 2018/7/10 23:50, Stefan Hajnoczi wrote: The virtio-scsi command virtqueues run during hotplug. This creates the possibility of race conditions since the guest can submit commands while the monitor is performing hotplug. See Patch 2 for a fix for the ->reset

Re: [Qemu-devel] [PATCH 0/2] virtio-scsi: fix hotplug ->reset() vs event race

2018-07-10 Thread Fam Zheng
On Tue, 07/10 16:50, Stefan Hajnoczi wrote: > The virtio-scsi command virtqueues run during hotplug. This creates the > possibility of race conditions since the guest can submit commands while the > monitor is performing hotplug. > > See Patch 2 for a fix for the ->reset() vs event race condition

[Qemu-devel] [PATCH 0/2] virtio-scsi: fix hotplug ->reset() vs event race

2018-07-10 Thread Stefan Hajnoczi
The virtio-scsi command virtqueues run during hotplug. This creates the possibility of race conditions since the guest can submit commands while the monitor is performing hotplug. See Patch 2 for a fix for the ->reset() vs event race condition that Zhengui Li encountered. Zhengui Li: Sorry it to