Re: [PATCH v2 2/5] tests: Initialize basic capabilities properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 29, 2017 at 04:08:53PM +0200, Andrea Bolognani wrote:
The capabilities used in test cases should match those used
during normal operation for the tests to make any sense.
---
src/qemu/qemu_capabilities.c                                          | 2 +-
src/qemu/qemu_capabilities.h                                          | 2 ++
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-host.args             | 1 -

[...]

tests/qemuxml2argvdata/qemuxml2argv-watchdog-diag288.args             | 1 -
tests/qemuxml2argvtest.c                                              | 4 ++--
55 files changed, 7 insertions(+), 53 deletions(-)


diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index d44682f..24e2f38 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -510,6 +510,8 @@ int virQEMUCapsParseHelpStr(const char *qemu,
                            const char *qmperr);
/* Only for use by test suite */
int virQEMUCapsParseDeviceStr(virQEMUCapsPtr qemuCaps, const char *str);
+/* Only for use by test suite */
+void virQEMUCapsInitQMPBasicArch(virQEMUCapsPtr qemuCaps);

We have qemu_capspriv.h for functions used by the test suite
guarded by the __QEMU_CAPSPRIV_H_ALLOW__ define.

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux