qemu-devel
[Top][All Lists]
Advanced

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

Re: virtio-vsock requires 'disable-legacy=on' in QEMU 5.1


From: Cornelia Huck
Subject: Re: virtio-vsock requires 'disable-legacy=on' in QEMU 5.1
Date: Mon, 17 Aug 2020 16:37:04 +0200

On Mon, 17 Aug 2020 15:11:28 +0200
Stefano Garzarella <sgarzare@redhat.com> wrote:

> On Mon, Aug 17, 2020 at 12:27:46PM +0200, Cornelia Huck wrote:

> > Speaking of tests: do you have a quick way to test vhost-vsock at hand?
> > Maybe I should add it to my manual repertoire...
> >   
> 
> Sure, maybe the quickest way is to use ncat. Starting from version 7.80,
> it supports AF_VSOCK sockets:
> 
>     host$ ./qemu-system-x86_64 ... -device vhost-vsock-pci,guest-cid=5
> 
>     host$ ncat --vsock -l 1234
> 
>     # vsock address is <cid, port>, cid=2 is used always to reach the host
>     guest$ ncat --vsock 2 1234
> 
> Other tests that I usually run are:
> - iperf-vsock: https://github.com/stefano-garzarella/iperf-vsock
> - vsock test suite in the Linux kernel (tools/testing/vsock)
> 
> Let me know if you want more details on these :-)

Thanks, simply doing some smoke tests with ncat should be enough :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]