summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-17 18:58:14 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-17 18:58:14 +0000
commitc4be29ff4376c4c519119e376ddd0c3c8e24af4e (patch)
treed4666ae49eb58aa3ad02fc82c6a88f8bc5bde4d1 /sysemu.h
parentdad354198e4194fceb744158963743a33d8d43dc (diff)
downloadqemu-c4be29ff4376c4c519119e376ddd0c3c8e24af4e.tar.gz
qemu: Add prototype and make qemu_uuid_parse() non-static (Alex Williamson)
SMBIOS parameters can also provide a UUID outside of vl.c. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7162 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 3eab34b399..e94d5c34e6 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -15,6 +15,7 @@ extern const char *bios_dir;
extern int vm_running;
extern const char *qemu_name;
extern uint8_t qemu_uuid[];
+int qemu_uuid_parse(const char *str, uint8_t *uuid);
#define UUID_FMT "%02hhx%02hhx%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx"
typedef struct vm_change_state_entry VMChangeStateEntry;