[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QUESTION] About virtio and eventloop
From: |
Stefan Hajnoczi |
Subject: |
Re: [QUESTION] About virtio and eventloop |
Date: |
Mon, 16 Jan 2023 11:16:09 -0500 |
On Mon, 16 Jan 2023 at 03:20, zhukeqian via <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