ublksrv icon indicating copy to clipboard operation
ublksrv copied to clipboard

ublk-qcow2 work with kvm guests

Open ferodevil opened this issue 2 years ago • 3 comments

just like https://static.sched.com/hosted_files/kvmforum2020/9c/KVMForum_2020_io_uring_passthrough_Stefano_Garzarella.pdf, make io_uring SQ/CQ ring share between ublk-qcow2 and virtio-blk driver, to make performace best

ferodevil avatar Feb 09 '23 05:02 ferodevil

Hello,

Can you explain a bit that this is one issue or improvement? Also I appreciate that you may provide more details.

Actually ublk-qcow2 has nothing in common with virtio-blk driver, not sure how to share io_uring. ublk-qcow2 backend is implemented totally in userspace with io_uring, and it does not use virtio-blk at all.

Thanks, Ming

ming1 avatar Feb 13 '23 14:02 ming1

hi,Ming

ublk-qcow2 or qemu-nbd used in host environment, and ublk-qcow2 result Better performance; how can it combine with qemu or virtual machine to make guest perform better?

  1. replace qemu qcow2 logic?
  2. just like spdk,share buffer with virtual machine?

Thanks

ferodevil avatar Apr 13 '23 08:04 ferodevil

ublk-qcow2 is supposed to be used in host environment(such as container, ...), and not for guest.

ming1 avatar Apr 13 '23 13:04 ming1