]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildInterfaceCommandLine: Move hostdev handling a bit further
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Sep 2016 07:54:26 +0000 (09:54 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Oct 2016 02:15:51 +0000 (10:15 +0800)
commitec7f612a56ed8d3a2e83101b5cffcea3058fd30a
treea5813fbe16515751d8c0e0aa84e2a45c5b727f24
parent507032d98d390245047f69474d0671d6b0b12651
qemuBuildInterfaceCommandLine: Move hostdev handling a bit further

The idea is to have function that does some checking of the
arguments at its beginning and then have one big switch for all
the interface types it supports. Each one of them generating the
corresponding part of the command line.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-net-hostdev-fail.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c