[libvirt] [PATCH] tests: Don't touch /dev/vhost-net in qemuxml2argvtest

Jiri Denemark jdenemar at redhat.com
Tue Apr 17 09:52:00 UTC 2018


On Tue, Apr 17, 2018 at 11:30:06 +0200, Martin Kletzander wrote:
> The code is trying to open /dev/vhost-net from the host machine and if the
> current user has access to it, the command line will end up having two more
> options for an interface (,vhost=on,vhostfd=X where X is next free file
> descriptor).
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  tests/qemuxml2argvmock.c | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)

Reviewed-by: Jiri Denemark <jdenemar at redhat.com>




More information about the libvir-list mailing list