aboutsummaryrefslogtreecommitdiff
path: root/hw/pc_piix.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-06-15 17:36:56 +0100
committerAlexander Graf <agraf@suse.de>2011-06-19 04:42:57 +0200
commitbf09551a6b2282a1c59bd8335c1ef6e58704de98 (patch)
tree3193af92c2e72f381425dc19c87fb5c45dbcb866 /hw/pc_piix.c
parentebed85058b6e89a5202112e9aa2abab3aa3804c3 (diff)
downloadqemu-bf09551a6b2282a1c59bd8335c1ef6e58704de98.zip
qemu-bf09551a6b2282a1c59bd8335c1ef6e58704de98.tar.gz
qemu-bf09551a6b2282a1c59bd8335c1ef6e58704de98.tar.bz2
xen: fix interrupt routing
Compared to the last version I only added a comment to the code. - remove i440FX-xen and i440fx_write_config_xen we don't need to intercept pci config writes to i440FX anymore; - introduce PIIX3-xen and piix3_write_config_xen we do need to intercept pci config write to the PCI-ISA bridge to update the PCI link routing; - set the number of PIIX3-xen interrupts line to 128; Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r--hw/pc_piix.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 9a22a8a..ba198de 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -124,11 +124,7 @@ static void pc_init1(ram_addr_t ram_size,
isa_irq = qemu_allocate_irqs(isa_irq_handler, isa_irq_state, 24);
if (pci_enabled) {
- if (!xen_enabled()) {
- pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, isa_irq, ram_size);
- } else {
- pci_bus = i440fx_xen_init(&i440fx_state, &piix3_devfn, isa_irq, ram_size);
- }
+ pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, isa_irq, ram_size);
} else {
pci_bus = NULL;
i440fx_state = NULL;