[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 5/6] Add UUID to firmware configuration info.
From: |
Gleb Natapov |
Subject: |
[Qemu-devel] [PATCH v3 5/6] Add UUID to firmware configuration info. |
Date: |
Thu, 28 Aug 2008 19:52:57 +0300 |
User-agent: |
StGIT/0.14.2 |
Signed-off-by: Gleb Natapov <address@hidden>
---
hw/fw_cfg.c | 2 ++
hw/fw_cfg.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index e36224e..614a4a6 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
+#include "sysemu.h"
#include "isa.h"
#include "fw_cfg.h"
@@ -191,6 +192,7 @@ void *fw_cfg_init(uint32_t port, target_phys_addr_t addr)
}
fw_cfg_add(s, FW_CFG_SIGNATURE, (uint8_t *)"QEMU", 4);
+ fw_cfg_add(s, FW_CFG_UUID, qemu_uuid, 16);
register_savevm("fw_cfg", -1, 1, fw_cfg_save, fw_cfg_load, s);
qemu_register_reset(fw_cfg_reset, s);
fw_cfg_reset(s);
diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h
index aa8ebe7..baa445d 100644
--- a/hw/fw_cfg.h
+++ b/hw/fw_cfg.h
@@ -3,6 +3,7 @@
#define FW_CFG_SIGNATURE 0x00
#define FW_CFG_ID 0x01
+#define FW_CFG_UUID 0x02
#define FW_CFG_MAX_ENTRY 0x10
#define FW_CFG_ARCH_LOCAL 0x8000
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., (continued)
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Blue Swirl, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Blue Swirl, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Gleb Natapov, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Blue Swirl, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Gleb Natapov, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Blue Swirl, 2008/08/31
- Re: [Qemu-devel] [PATCH v3 1/6] Use IO port for qemu<->guest BIOS communication., Gleb Natapov, 2008/08/31
[Qemu-devel] [PATCH v3 2/6] Add -uuid command line option., Gleb Natapov, 2008/08/28
[Qemu-devel] [PATCH v3 3/6] Add "info uuid" command to monitor., Gleb Natapov, 2008/08/28
[Qemu-devel] [PATCH v3 4/6] Use libuuid if available., Gleb Natapov, 2008/08/28
[Qemu-devel] [PATCH v3 5/6] Add UUID to firmware configuration info.,
Gleb Natapov <=
[Qemu-devel] [PATCH v3 6/6] Pass cpu speed into SM BIOS., Gleb Natapov, 2008/08/28