aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-05-02 13:07:25 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-10 12:37:55 -0500
commitb5a8fe5e8a9d8a5751dd5506026bc30a14010443 (patch)
tree58a529a9bd281966d973945ebffa4d91d3ea0679 /qemu-config.h
parent04120e3bb0323c3c81c252301485ad81dd842718 (diff)
downloadqemu-b5a8fe5e8a9d8a5751dd5506026bc30a14010443.zip
qemu-b5a8fe5e8a9d8a5751dd5506026bc30a14010443.tar.gz
qemu-b5a8fe5e8a9d8a5751dd5506026bc30a14010443.tar.bz2
move code to read default config files to a separate function (v2)
Function added to arch_init.c because it depends on arch-specific settings. Changes v1 -> v2: - Move qemu_read_default_config_file() prototype to qemu-config.h Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-config.h')
-rw-r--r--qemu-config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-config.h b/qemu-config.h
index 20d707f..ff934a1 100644
--- a/qemu-config.h
+++ b/qemu-config.h
@@ -16,4 +16,8 @@ int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
int qemu_read_config_file(const char *filename);
+/* Read default Qemu config files
+ */
+int qemu_read_default_config_files(void);
+
#endif /* QEMU_CONFIG_H */