Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LutGV-0007rr-4u for qemu-devel@nongnu.org; Fri, 17 Apr 2009 14:58:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LutGS-0007rf-Os for qemu-devel@nongnu.org; Fri, 17 Apr 2009 14:58:17 -0400 Received: from [199.232.76.173] (port=57218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LutGS-0007rc-KA for qemu-devel@nongnu.org; Fri, 17 Apr 2009 14:58:16 -0400 Received: from savannah.gnu.org ([199.232.41.3]:33246 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LutGS-0007NM-A2 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 14:58:16 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LutGR-0003xU-F4 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 18:58:15 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LutGR-0003xP-32 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 18:58:15 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Fri, 17 Apr 2009 18:58:15 +0000 Subject: [Qemu-devel] [7162] qemu: Add prototype and make qemu_uuid_parse() non-static ( Alex Williamson) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Signed-off-by: Anthony Liguori 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;