From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5259] Add UUID to firmware configuration info (Gleb Natapov)
Date: Thu, 18 Sep 2008 18:31:52 +0000 [thread overview]
Message-ID: <E1KgOIC-0001jP-PH@cvs.savannah.gnu.org> (raw)
Revision: 5259
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5259
Author: blueswir1
Date: 2008-09-18 18:31:52 +0000 (Thu, 18 Sep 2008)
Log Message:
-----------
Add UUID to firmware configuration info (Gleb Natapov)
Modified Paths:
--------------
trunk/hw/fw_cfg.c
trunk/hw/fw_cfg.h
Modified: trunk/hw/fw_cfg.c
===================================================================
--- trunk/hw/fw_cfg.c 2008-09-18 18:30:20 UTC (rev 5258)
+++ trunk/hw/fw_cfg.c 2008-09-18 18:31:52 UTC (rev 5259)
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
+#include "sysemu.h"
#include "isa.h"
#include "fw_cfg.h"
@@ -281,6 +282,7 @@
cpu_register_physical_memory(data_addr, FW_CFG_SIZE, io_data_memory);
}
fw_cfg_add_bytes(s, FW_CFG_SIGNATURE, (uint8_t *)"QEMU", 4);
+ fw_cfg_add_bytes(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);
Modified: trunk/hw/fw_cfg.h
===================================================================
--- trunk/hw/fw_cfg.h 2008-09-18 18:30:20 UTC (rev 5258)
+++ trunk/hw/fw_cfg.h 2008-09-18 18:31:52 UTC (rev 5259)
@@ -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_WRITE_CHANNEL 0x4000
reply other threads:[~2008-09-18 18:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1KgOIC-0001jP-PH@cvs.savannah.gnu.org \
--to=blauwirbel@gmail.com \
--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 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).