|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 5/5] Add support for UUID query to vmport interface. |
Date: | Thu, 05 Jun 2008 10:19:03 -0500 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Gleb Natapov wrote:
Answer BOCHS BIOS query about UUID. Signed-off-by: Gleb Natapov <address@hidden> --- hw/vmport.c | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/hw/vmport.c b/hw/vmport.c index ebfa921..5d32288 100644 --- a/hw/vmport.c +++ b/hw/vmport.c @@ -26,8 +26,16 @@ #include "pc.h" #include "sysemu.h"+#ifdef CONFIG_UUID+#include <uuid/uuid.h> +extern uuid_t qemu_uuid; +#else +static uint8_t qemu_uuid[16]; +#endif
Just eliminate the #ifdef and always use uint8_t[16]. Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |