[libvirt PATCH 2/5] qemu: Set QEMU data location correctly
Andrea Bolognani
abologna at redhat.com
Mon Nov 15 18:45:18 UTC 2021
While datadir must live under prefix, there is no requirement
that its name must necessarily be "share": a different,
arbitrary name could have been provided by the user.
Fixes: 3c876d2428ee3abbb11a50698a9e225cffb72cbc
Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
src/qemu/qemu_interop_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_interop_config.c b/src/qemu/qemu_interop_config.c
index 848e8f7381..fe1bd44b41 100644
--- a/src/qemu/qemu_interop_config.c
+++ b/src/qemu/qemu_interop_config.c
@@ -80,7 +80,7 @@ qemuBuildFileList(GHashTable *files, const char *dir)
return 0;
}
-#define QEMU_SYSTEM_LOCATION PREFIX "/share/qemu"
+#define QEMU_SYSTEM_LOCATION DATADIR "/qemu"
#define QEMU_ETC_LOCATION SYSCONFDIR "/qemu"
int
--
2.31.1
More information about the libvir-list
mailing list