RFC vhost-nvme: new qemu nvme backend using nvme target
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/9] vhost-nvme: new qemu nvme backend using nvme target
Quoted 7 lines · Ming Lin
handle_notify(qemu/hw/block/dataplane/virtio-blk.c:126)aio_dispatch(qemu/aio-posix.c:329)aio_poll(qemu/aio-posix.c:474)iothread_run(qemu/iothread.c:45)start_thread(pthread_create.c:312) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
Quoted 8 lines
I think I'll have a "
nvme_dev_notify" similar as "handle_notify"static void
nvme_dev_notify(EventNotifier *e){ .... }But then how can I know this notify is for cq or sq?
virtio-blk has a single queue, so it has a single EventNotifier. Your code using multiple EventNotifiers is fine, you can use aio_set_event_notifier multiple times on the same iothread.
Paolo