@@ -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);
@@ -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
@@ -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;
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(-)