Commit c4be29ff4376c4c519119e376ddd0c3c8e24af4e

Authored by aliguori
1 parent dad35419

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
Showing 2 changed files with 2 additions and 1 deletions
sysemu.h
... ... @@ -15,6 +15,7 @@ extern const char *bios_dir;
15 15 extern int vm_running;
16 16 extern const char *qemu_name;
17 17 extern uint8_t qemu_uuid[];
  18 +int qemu_uuid_parse(const char *str, uint8_t *uuid);
18 19 #define UUID_FMT "%02hhx%02hhx%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx"
19 20  
20 21 typedef struct vm_change_state_entry VMChangeStateEntry;
... ...
... ... @@ -4200,7 +4200,7 @@ static BOOL WINAPI qemu_ctrl_handler(DWORD type)
4200 4200 }
4201 4201 #endif
4202 4202  
4203   -static int qemu_uuid_parse(const char *str, uint8_t *uuid)
  4203 +int qemu_uuid_parse(const char *str, uint8_t *uuid)
4204 4204 {
4205 4205 int ret;
4206 4206  
... ...