From 6e326b0414ec99ccc087af0986216aa774ec5034 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 6 Aug 2009 16:25:50 +0200 Subject: QEMU set irq0override in fw_cfg Hi, After discussing the issue with Avi, Gleb and a couple others on irq, we came to the conclusion that it is preferred to have QEMU request features from the BIOS, rather than notifying the BIOS that it is running on QEMU or KVM. This way memory ranges can change etc. and an older BIOS will continue to work on newer QEMU if it receives the info as a fw_cfg value. This one also matches what qemu-kvm does for irq0override, except I haven't made it configurable. I leave that as an exercise for whoever would be interested in switching off irq0override. Thanks, Jes Set irq0 override in fw_cfg, informing the BIOS that QEMU expects override on irq0. This matches qemu-kvm, and will help sharing a single BIOS binary. Signed-off-by: Jes Sorensen Signed-off-by: Anthony Liguori --- sysemu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index 30e5e783d5..1ed2ad0336 100644 --- a/sysemu.h +++ b/sysemu.h @@ -113,6 +113,7 @@ extern int vga_interface_type; extern int graphic_width; extern int graphic_height; extern int graphic_depth; +extern uint8_t irq0override; extern DisplayType display_type; extern const char *keyboard_layout; extern int win2k_install_hack; -- cgit v1.2.3