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
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
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
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
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