[libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-08-12 Thread Li Feng
Hi Guys, And I want to add the vhost-user-scsi-pci/vhost-user-blk-pci support for libvirt. The usage in qemu like this: Vhost-SCSI -chardev socket,id=char0,path=/var/tmp/vhost.0 -device vhost-user-scsi-pci,id=scsi0,chardev=char0 Vhost-BLK -chardev socket,id=char1,path=/var/tmp/vhost.1 -device

[libvirt] [PATCH 1/3] qemu: Add vhost-user-scsi/blk support

2019-09-30 Thread Li Feng
Vhost-user-scsi and vhost-user-blk is supported in Qemu, this patch add support in libvirt. Hotplug is also support here. Usage like this: Signed-off-by: Li Feng --- src/conf/domain_conf.c | 79 - src/conf/domain_conf.h

[libvirt] [PATCH 3/3] qemu: Add multiqueue support for vhost-user-scsi/blk

2019-09-30 Thread Li Feng
The format like this: Signed-off-by: Li Feng --- src/conf/device_conf.h | 5 + src/conf/domain_conf.c | 14 ++ src/qemu/qemu_command.c

[libvirt] [PATCH 2/3] vhost-user-scsi/blk: add xml validation check

2019-09-30 Thread Li Feng
Add vhost-user-scsi/blk xml schema to validate the correctness when editing the xml for the new chardev. Signed-off-by: Li Feng --- docs/schemas/domaincommon.rng | 48 +++ 1 file changed, 48 insertions(+) diff --git a/docs/schemas/domaincommon.rng b/docs

[libvirt] [PATCH 0/3] Add vhost-user-scsi/blk support

2019-09-30 Thread Li Feng
The latest qemu has support the vhost-user-scsi and vhost-user-blk backend for better performance. This patch let the libvirt could manage the vhost-user disks. Usage in xml like this: Li Feng (3): qemu: Add vhost-user-scsi/blk support vhost-user