]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Query for vhostuser iface names at runtime
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Jun 2017 13:43:58 +0000 (15:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 8 Jun 2017 13:02:22 +0000 (15:02 +0200)
commit2a13a0a103340878b05a5ae0b9f454721f67dbb3
treebd70bdafc3ff6dc776c7d9874a5e2940d8015bec
parente146264aaadf5aecf727d8c7b3d85683b55b6c48
qemu: Query for vhostuser iface names at runtime

https://bugzilla.redhat.com/show_bug.cgi?id=1459091

Currently, we are querying for vhostuser interface name in post
parse callback. At that time interface might not yet exist.
However, it has to exist when starting domain. Therefore it makes
more sense to query its name at that point. This partially
reverts 57b5e27.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
tests/Makefile.am
tests/qemuxml2xmlmock.c [deleted file]
tests/qemuxml2xmloutdata/qemuxml2xmlout-net-vhostuser.xml
tests/qemuxml2xmltest.c