]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildVhostuserCommandLine: Unify -netdev creation
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Aug 2016 10:21:49 +0000 (12:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Oct 2016 03:45:01 +0000 (11:45 +0800)
commitb093e8522483c689e6ffaf7bdef98991f862c88b
tree50562c5e4df3833be0e541547aeefcda6b90eec3
parent0c61cf315859a74326da93bbb6f04a08509ef91e
qemuBuildVhostuserCommandLine: Unify -netdev creation

Currently, what we do for vhost-user network is generate the
following part of command line:

-netdev type=vhost-user,id=hostnet0,chardev=charnet0

There's no need for 'type=' it is the default. Drop it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser-multiq.args
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.args