qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [7162] qemu: Add prototype and make qemu_uuid_parse() non-s


From: Anthony Liguori
Subject: [Qemu-devel] [7162] qemu: Add prototype and make qemu_uuid_parse() non-static ( Alex Williamson)
Date: Fri, 17 Apr 2009 18:58:15 +0000

Revision: 7162
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7162
Author:   aliguori
Date:     2009-04-17 18:58:14 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    trunk/sysemu.h
    trunk/vl.c

Modified: trunk/sysemu.h
===================================================================
--- trunk/sysemu.h      2009-04-17 18:07:01 UTC (rev 7161)
+++ trunk/sysemu.h      2009-04-17 18:58:14 UTC (rev 7162)
@@ -15,6 +15,7 @@
 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;

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c  2009-04-17 18:07:01 UTC (rev 7161)
+++ trunk/vl.c  2009-04-17 18:58:14 UTC (rev 7162)
@@ -4200,7 +4200,7 @@
 }
 #endif
 
-static int qemu_uuid_parse(const char *str, uint8_t *uuid)
+int qemu_uuid_parse(const char *str, uint8_t *uuid)
 {
     int ret;
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]