]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Call qemuDomainDetachDeviceLive() directly
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Apr 2023 14:53:02 +0000 (16:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Apr 2023 06:46:27 +0000 (08:46 +0200)
commit2577ade4576a14d52eda491a2c82f7ce15efa7a1
treedba4c476b7e49302a0fb46930d348d347fdc565e
parent132b483006fe0c4fcd1a8434d094064831541309
qemuhotplugtest: Call qemuDomainDetachDeviceLive() directly

The testQemuHotplugDetach() already does call
qemuDomainDetachDeviceLive() but only for some device types. For
the rest it reports an error (but only if running test
verbosely). This makes no sense. Just call
qemuDomainDetachDeviceLive() directly and drop
testQemuHotplugDetach().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
tests/qemuhotplugtest.c