Add SPDK related option into the QEMU's .XML config file
Ruslan Laishev
Hello!
Can someone help me to understand how to add the SPDK's options:
-chardev socket,id=char0,path=/var/tmp/vhost.0 \
-device virtio-scsi-pci,id=scsi0
In to the QEMU's .XML file of the VM ?
I see the .XML by the 'virsh edit inner-CentOS8' (where inner-CentOS8 is a nem of the VM), but i cannot uderstand what are keywords should be used.
Thanks in advance.
Zawadzki
Hi Ruslan,
Please see all relevant QEMU options for connecting to SPDK vhost controller https://spdk.io/doc/vhost.html#vhost_qemu_config.
Note that the XML you describe is specific for libvirt Domain XML which manages the VMs and uses QEMU.
I'd suggest to first start with trying out the QEMU via supplying the right arguments directly. Then if needed see how the arguments translate to libvirt Domain XML. Probably some good pointers can be found in https://libvirt.org/formatdomain.html.
Thanks,
Tomek
Quoted 21 lines
-----Original Message-----
From: Ruslan Laishev <zator(a)yandex.ru>
Sent: Friday, September 3, 2021 12:11 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Add SPDK related option into the QEMU's .XML config fileHello!
Can someone help me to understand how to add the SPDK's options:
-chardev socket,id=char0,path=/var/tmp/vhost.0 \ -device virtio-scsi-
pci,id=scsi0In to the QEMU's .XML file of the VM ?
I see the .XML by the 'virsh edit inner-CentOS8' (where inner-CentOS8 is a nem of the VM), but i cannot uderstand what are keywords should be used.
Thanks in advance.
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org