mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +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: 3c876d2428
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…
Reference in New Issue
Block a user