]> git.proxmox.com Git - qemu.git/commit - vl.c
QEMU set irq0override in fw_cfg
authorJes Sorensen <jes@sgi.com>
Thu, 6 Aug 2009 14:25:50 +0000 (16:25 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 Aug 2009 13:01:41 +0000 (08:01 -0500)
commit6b35e7bf488a894f8d9315d05846aae9bf580425
treec9413b3cdd4a92d358effda41624e7dbd40626e8
parente8b54394950f975c1b31d2359cf58ca4d9f51b00
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 <jes@sgi.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
sysemu.h
vl.c