[SPDK] Re: Add SPDK related option into the QEMU's .XML config file

Zawadzki, Tomasz <tomasz.zawadzki at intel.com> Fri, 03 Sep 2021 10:44:18 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <DM6PR11MB422092D51DBB8030153211F5EECF9@DM6PR11MB4220.namprd11.prod.outlook.com>
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

> -----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 file
> 
> 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.
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org