On 11/16/21 14:54, Jiatong Shen wrote:
Hello community,
I am looking for a way to configure vhost-user-vsock using libvirt,
but looks like it is not written in doc. How can I use vhost-user-vsock
using libvirt? Thank you.
Libvirt has basic support for vsock:
https://libvirt.org/formatdomain.html#vsock
For instance the following:
<vsock model='virtio'>
<cid auto='no' address='4'/>
</vsock>
will get you:
-device
'{"driver":"vhost-vsock-pci","id":"vsock0","guest-cid":4,"vhostfd":"6789","bus":"pci.0","addr":"0x7"}'
But, I don't think we have vhost-*user*-vsock implemented yet.
Michal