Hi Stefan, this indeed helps, thank you.

Keqian

On Mon, 16 Jan 2023 at 03:20, zhukeqian via 
<qemu-devel@nongnu.org<mailto:qemu-devel@nongnu.org>> wrote:
> And if IO operation is blocked, is vCPU thread will blocked when do 
> deactivate?

Yes, blk_drain() is a synchronous function. It blocks until in-flight
I/O has finished. The vcpu thread will be blocked in
virtio_pci_common_write().

Stefan

Reply via email to