From 5cea8590eaa099be8087f363f80d0e6917382385 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Sat, 30 May 2009 00:52:44 +0100 Subject: 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 --- sysemu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sysemu.h') 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; -- cgit v1.2.3-55-g7522