Hi Stefan, this indeed helps, thank you.
Keqian
On Mon, 16 Jan 2023 at 03:20, zhukeqian via
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 fi
On Mon, 16 Jan 2023 at 03:20, zhukeqian via 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
; Wanghaibin (D) ; Zhangbo
(Oscar) ; limingwang (A) ;
Wangyan ; lihuachao
主题: [QUESTION] About virtio and eventloop
Hi all maintainers and community friends,
Recently I am reviewing and learning the virtio and eventloop implementation of
latest QEMU,
and now I have a questions for help:
In g
Hi all maintainers and community friends,
Recently I am reviewing and learning the virtio and eventloop implementation of
latest QEMU,
and now I have a questions for help:
In general, the IO requests of virtio is popped in iothread/mainloop and may
submitted to "async IO
Engine" (io_uring/linu