summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-18 11:57:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:11:36 +0200
commitea1edcd7da1a375ef7ccf8aa93b72827b518ad8e (patch)
treef7b56f954cbf62133ac38ae8e530e8634e1af002 /include
parent63c4db4c2e6d221cecb5aafa365934bb05724cb4 (diff)
downloadfocaccia-qemu-ea1edcd7da1a375ef7ccf8aa93b72827b518ad8e.tar.gz
focaccia-qemu-ea1edcd7da1a375ef7ccf8aa93b72827b518ad8e.zip
vl: relocate paths to data directories
As an additional advantage, the logic is now unified between
POSIX and Win32 systems.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu-common.h1
-rw-r--r--include/sysemu/sysemu.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index cc902b690d..fda7dc6ca7 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -131,7 +131,6 @@ char *qemu_find_file(int type, const char *name);
 
 /* OS specific functions */
 void os_setup_early_signal_handling(void);
-char *os_find_datadir(void);
 int os_parse_cmd_args(int index, const char *optarg);
 
 /*
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 4b6a5c459c..817ff4cf75 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -14,7 +14,7 @@ extern const char *qemu_name;
 extern QemuUUID qemu_uuid;
 extern bool qemu_uuid_set;
 
-void qemu_add_data_dir(const char *path);
+void qemu_add_data_dir(char *path);
 
 void qemu_add_exit_notifier(Notifier *notify);
 void qemu_remove_exit_notifier(Notifier *notify);