* [Qemu-devel] [7162] qemu: Add prototype and make qemu_uuid_parse() non-static ( Alex Williamson)
@ 2009-04-17 18:58 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-04-17 18:58 UTC (permalink / raw)
To: qemu-devel
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 <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-17 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17 18:58 [Qemu-devel] [7162] qemu: Add prototype and make qemu_uuid_parse() non-static ( Alex Williamson) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).