From: Alex Williamson <alex.williamson@hp.com>
To: qemu-devel@nongnu.org, aliguori@us.ibm.com
Cc: kvm@vger.kernel.org, alex.williamson@hp.com
Subject: [PATCH v2 1/3] qemu: Add prototype and make qemu_uuid_parse() non-static
Date: Wed, 08 Apr 2009 15:59:00 -0600 [thread overview]
Message-ID: <20090408215845.11530.28322.stgit@kvm.aw> (raw)
In-Reply-To: <20090408215733.11530.29919.stgit@kvm.aw>
SMBIOS parameters can also provide a UUID outside of vl.c.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
sysemu.h | 1 +
vl.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/sysemu.h b/sysemu.h
index 3eab34b..e94d5c3 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;
diff --git a/vl.c b/vl.c
index ddbcc6c..6235341 100644
--- a/vl.c
+++ b/vl.c
@@ -4197,7 +4197,7 @@ static BOOL WINAPI qemu_ctrl_handler(DWORD type)
}
#endif
-static int qemu_uuid_parse(const char *str, uint8_t *uuid)
+int qemu_uuid_parse(const char *str, uint8_t *uuid)
{
int ret;
WARNING: multiple messages have this Message-ID (diff)
From: Alex Williamson <alex.williamson@hp.com>
To: qemu-devel@nongnu.org, aliguori@us.ibm.com
Cc: alex.williamson@hp.com, kvm@vger.kernel.org
Subject: [Qemu-devel] [PATCH v2 1/3] qemu: Add prototype and make qemu_uuid_parse() non-static
Date: Wed, 08 Apr 2009 15:59:00 -0600 [thread overview]
Message-ID: <20090408215845.11530.28322.stgit@kvm.aw> (raw)
In-Reply-To: <20090408215733.11530.29919.stgit@kvm.aw>
SMBIOS parameters can also provide a UUID outside of vl.c.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
sysemu.h | 1 +
vl.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/sysemu.h b/sysemu.h
index 3eab34b..e94d5c3 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;
diff --git a/vl.c b/vl.c
index ddbcc6c..6235341 100644
--- a/vl.c
+++ b/vl.c
@@ -4197,7 +4197,7 @@ static BOOL WINAPI qemu_ctrl_handler(DWORD type)
}
#endif
-static int qemu_uuid_parse(const char *str, uint8_t *uuid)
+int qemu_uuid_parse(const char *str, uint8_t *uuid)
{
int ret;
next prev parent reply other threads:[~2009-04-08 22:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 21:58 [PATCH v2 0/3] qemu: SMBIOS support Alex Williamson
2009-04-08 21:58 ` [Qemu-devel] " Alex Williamson
2009-04-08 21:59 ` Alex Williamson [this message]
2009-04-08 21:59 ` [Qemu-devel] [PATCH v2 1/3] qemu: Add prototype and make qemu_uuid_parse() non-static Alex Williamson
2009-04-17 19:01 ` Anthony Liguori
2009-04-17 19:01 ` [Qemu-devel] " Anthony Liguori
2009-04-08 21:59 ` [PATCH v2 2/3] qemu: Add support for SMBIOS command line otions Alex Williamson
2009-04-08 21:59 ` [Qemu-devel] " Alex Williamson
2009-04-08 22:06 ` [PATCH v2 3/3] qemu:bios: Load SMBIOS entries and files from qemu Alex Williamson
2009-04-08 22:06 ` [Qemu-devel] " Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090408215845.11530.28322.stgit@kvm.aw \
--to=alex.williamson@hp.com \
--cc=aliguori@us.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.