]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Adapt to ethernet automatic tap creation
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 23 Mar 2016 15:19:26 +0000 (16:19 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Mar 2016 06:38:46 +0000 (07:38 +0100)
commit950a90d489b2a79fe641a95194c56112b2682d9c
treed461501db52424a82e8c45e077d3aba4a4102982
parent360229e8b4c0d99cb90ae83875566170187d6bb1
qemuxml2argvtest: Adapt to ethernet automatic tap creation

After 9c17d665fdc5 the tap device for ethernet network type is
automatically precreated before spawning qemu. Problem is, the
qemuxml2argvtest wasn't updated and thus is failing. Because of
all the APIs that new code is calling, I had to mock a lot. Also,
since the tap FDs are labeled separately from the rest of the
devices/files I had to enable NOP security driver for the test
too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
cfg.mk
tests/qemuhotplugtest.c
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.args
tests/qemuxml2argvdata/qemuxml2argv-net-eth-names.args
tests/qemuxml2argvdata/qemuxml2argv-net-eth.args
tests/qemuxml2argvmock.c
tests/testutilsqemu.c