mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 16:15:19 +00:00
qemustatusxml2xmltest: Remove hack for qemuCaps allocation
Since qemuCaps are now always allocated we don't need the hack. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
767f4e5f72
commit
7eeb50fd33
@ -110,9 +110,7 @@ mymain(void)
|
||||
static struct testQemuInfo info = { \
|
||||
.name = _name, \
|
||||
}; \
|
||||
if (testQemuInfoSetArgs(&info, capscache, capslatest, \
|
||||
ARG_QEMU_CAPS, QEMU_CAPS_LAST, \
|
||||
ARG_END) < 0 || \
|
||||
if (testQemuInfoSetArgs(&info, capscache, capslatest, ARG_END) < 0 || \
|
||||
qemuTestCapsCacheInsert(driver.qemuCapsCache, info.qemuCaps) < 0) { \
|
||||
VIR_TEST_DEBUG("Failed to generate status test data for '%s'", _name); \
|
||||
return -1; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user