The value (with a slightly different name) is currently private
to testutilsqemu, but since we use this path all over the place
it makes sense to define it publicly and avoid repetition.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
}
-#define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata"
-
int
testQemuInfoSetArgs(struct testQemuInfo *info,
virHashTablePtr capslatest, ...)
goto cleanup;
stripmachinealiases = true;
} else if (virAsprintf(&capsfile, "%s/caps_%s.%s.xml",
- TEST_CAPS_PATH, capsver, capsarch) < 0) {
+ TEST_QEMU_CAPS_PATH, capsver, capsarch) < 0) {
goto cleanup;
}
# include "qemu/qemu_capabilities.h"
# include "qemu/qemu_conf.h"
+# define TEST_QEMU_CAPS_PATH abs_srcdir "/qemucapabilitiesdata"
+
enum {
GIC_NONE = 0,
GIC_V2,