summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorMichael S. Tsirkin2013-05-13 19:00:23 +0200
committerMichael S. Tsirkin2013-07-04 09:40:56 +0200
commitf8c457b88d72a48989f190bc3d7b79f4f3b7d11c (patch)
tree6042eaab39d046123b65f1613b49c971a323edb8 /include/hw/i386
parentpci: store PCI hole ranges in guestinfo structure (diff)
downloadqemu-f8c457b88d72a48989f190bc3d7b79f4f3b7d11c.tar.gz
qemu-f8c457b88d72a48989f190bc3d7b79f4f3b7d11c.tar.xz
qemu-f8c457b88d72a48989f190bc3d7b79f4f3b7d11c.zip
pc: pass PCI hole ranges to Guests
Guest currently has to jump through lots of hoops to guess the PCI hole ranges. It's fragile, and makes us change BIOS each time we add a new chipset. Let's report the window in a ROM file, to make BIOS do exactly what QEMU intends. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index eaf6a5dd4e..dbdd523561 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -20,6 +20,7 @@ typedef struct PcPciInfo {
struct PcGuestInfo {
PcPciInfo pci_info;
+ bool has_pci_info;
FWCfgState *fw_cfg;
};