From: Cory Fields <FOSS@AtlasTechnologiesInc.com>
To: kvm@vger.kernel.org
Subject: [PATCH 1/4] Define new channels for quietboot and fastboot
Date: Fri, 6 Feb 2009 19:17:02 -0500 [thread overview]
Message-ID: <1233965825-17970-2-git-send-email-FOSS@AtlasTechnologiesInc.com> (raw)
In-Reply-To: <1233965825-17970-1-git-send-email-FOSS@AtlasTechnologiesInc.com>
Provide a way to send quietboot and fastboot to bios
Signed-off-by: Cory Fields <FOSS@AtlasTechnologiesInc.com>
---
qemu/hw/fw_cfg.c | 2 ++
qemu/hw/fw_cfg.h | 2 ++
qemu/sysemu.h | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/qemu/hw/fw_cfg.c b/qemu/hw/fw_cfg.c
index 4333ed9..280f227 100644
--- a/qemu/hw/fw_cfg.c
+++ b/qemu/hw/fw_cfg.c
@@ -287,6 +287,8 @@ void *fw_cfg_init(uint32_t ctl_port, uint32_t data_port,
fw_cfg_add_bytes(s, FW_CFG_UUID, qemu_uuid, 16);
fw_cfg_add_i16(s, FW_CFG_NOGRAPHIC, (uint16_t)nographic);
fw_cfg_add_i16(s, FW_CFG_NB_CPUS, (uint16_t)smp_cpus);
+ fw_cfg_add_i16(s, FW_CFG_QUIETBOOT, (uint16_t)quietboot);
+ fw_cfg_add_i16(s, FW_CFG_FASTBOOT, (uint16_t)fastboot);
register_savevm("fw_cfg", -1, 1, fw_cfg_save, fw_cfg_load, s);
qemu_register_reset(fw_cfg_reset, s);
diff --git a/qemu/hw/fw_cfg.h b/qemu/hw/fw_cfg.h
index ef8f378..e9b22cd 100644
--- a/qemu/hw/fw_cfg.h
+++ b/qemu/hw/fw_cfg.h
@@ -8,6 +8,8 @@
#define FW_CFG_NOGRAPHIC 0x04
#define FW_CFG_NB_CPUS 0x05
#define FW_CFG_MACHINE_ID 0x06
+#define FW_CFG_FASTBOOT 0x07
+#define FW_CFG_QUIETBOOT 0x08
#define FW_CFG_MAX_ENTRY 0x10
#define FW_CFG_WRITE_CHANNEL 0x4000
diff --git a/qemu/sysemu.h b/qemu/sysemu.h
index f971d1b..2b1949c 100644
--- a/qemu/sysemu.h
+++ b/qemu/sysemu.h
@@ -88,6 +88,8 @@ extern int graphic_width;
extern int graphic_height;
extern int graphic_depth;
extern int nographic;
+extern int fastboot;
+extern int quietboot;
extern const char *keyboard_layout;
extern int win2k_install_hack;
extern int rtc_td_hack;
--
1.6.0.6
next prev parent reply other threads:[~2009-02-06 23:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-07 0:17 [PATCH 0/4] Arguments to skip boot menu and to hide bios output Cory Fields
2009-02-06 23:49 ` Anthony Liguori
2009-02-07 18:20 ` Cory Fields
2009-02-09 8:44 ` Daniel P. Berrange
[not found] ` <200902071303.20187.Cory@atlastechnologiesinc.com>
2009-02-08 0:02 ` Anthony Liguori
2009-02-07 0:17 ` Cory Fields [this message]
2009-02-07 0:17 ` [PATCH 2/4] add args for fastboot and quietboot Cory Fields
2009-02-07 0:17 ` [PATCH 3/4] probe for quietboot in vgabios Cory Fields
2009-02-07 0:17 ` [PATCH 4/4] probe for quietboot and fastboot in rombios Cory Fields
2009-02-07 11:09 ` [PATCH 0/4] Arguments to skip boot menu and to hide bios output Daniel P. Berrange
2009-02-07 16:01 ` Anthony Liguori
2009-02-07 11:13 ` Jan Kiszka
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=1233965825-17970-2-git-send-email-FOSS@AtlasTechnologiesInc.com \
--to=foss@atlastechnologiesinc.com \
--cc=kvm@vger.kernel.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