Re: AF_VSOCK status in qemu upstream

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

 



On Fri, Nov 18, 2016 at 01:24:54PM +0700, Antoine Martin wrote:
> I wanted to test vsock a little bit more with Fedora 25 but it seems
> that qemu 2.7 still does not include the require patches?
> 
> I see that the kernel bits have been merged already:
> https://lkml.org/lkml/2016/8/3/220
> And I can load the kernel module without problems.
> 
> But trying to use stock qemu with the option:
> -device vhost-vsock-pci,id=vhost-vsock-pci0,addr=4.0,guest-cid=4
> fails with:
> 'vhost-vsock-pci' is not a valid device model name
> 
> FWI: I can build the qemu git version listed here:
> http://wiki.qemu.org/Features/VirtioVsock
> but only with "-Wno-error=deprecated-declarations"
> And then when I try to run it (against stock Fedora 25 kernel), I get:
> vhost-vsock: unable to set guest cid: No buffer space available
> 
> Am I missing something? (I assumed it would be easier by now)

Hi Antoine,
QEMU 2.8 will have the vhost-vsock-pci device, you can use
qemu.git/master for the time being.  You don't need to use my vsock
branch anymore.

I have also made a copr repository for Fedora available here with
qemu-kvm, kernel, and other packages with virtio-vsock support:
https://copr.fedorainfracloud.org/coprs/stefanha/vsock/

The nc-vsock utility might be particularly interesting since it lets you
try out AF_VSOCK easily (like netcat).

Stefan

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux