Re: how to use vhost-user-vsock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux