mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemu: Set QEMU data location correctly
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@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
591cb9d0d5
commit
b41c95af5b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user