summaryrefslogtreecommitdiffstats
path: root/sysemu.h
diff options
context:
space:
mode:
authorPaul Brook2009-05-30 01:52:44 +0200
committerPaul Brook2009-05-30 02:59:37 +0200
commit5cea8590eaa099be8087f363f80d0e6917382385 (patch)
tree485aa34f5047dd2835642d88957d8236adf45b3c /sysemu.h
parentUpdate maintainer list. (diff)
downloadqemu-5cea8590eaa099be8087f363f80d0e6917382385.tar.gz
qemu-5cea8590eaa099be8087f363f80d0e6917382385.tar.xz
qemu-5cea8590eaa099be8087f363f80d0e6917382385.zip
Use relative path for bios
Look for bios and other support files relative to qemu binary, rather than a hardcoded prefix. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index 92501edcef..658aeec0b0 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -10,7 +10,10 @@
/* vl.c */
extern const char *bios_name;
-extern const char *bios_dir;
+
+#define QEMU_FILE_TYPE_BIOS 0
+#define QEMU_FILE_TYPE_KEYMAP 1
+char *qemu_find_file(int type, const char *name);
extern int vm_running;
extern const char *qemu_name;