[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL] pci_prep fix

From: Avi Kivity
Subject: [Qemu-devel] [PULL] pci_prep fix
Date: Sun, 25 Sep 2011 17:18:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

Please pull from

  git://github.com/avikivity/qemu.git memory/urgent

to receive for a fix which kills ppc_prep immediately after launch.

Avi Kivity (1):
      ppc_prep: fix pci config space initialization

 hw/prep_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/prep_pci.c b/hw/prep_pci.c
index 55e4e25..149807a 100644
--- a/hw/prep_pci.c
+++ b/hw/prep_pci.c
@@ -130,7 +130,7 @@ static void prep_set_irq(void *opaque, int irq_num, int level)
     memory_region_add_subregion(address_space_io, 0xcf8, &s->conf_mem);
     sysbus_init_ioports(&s->busdev, 0xcf8, 1);

-    memory_region_init_io(&s->conf_mem, &pci_host_data_be_ops, s,
+    memory_region_init_io(&s->data_mem, &pci_host_data_be_ops, s,
                           "pci-conf-data", 1);
     memory_region_add_subregion(address_space_io, 0xcfc, &s->data_mem);
     sysbus_init_ioports(&s->busdev, 0xcfc, 1);

error compiling committee.c: too many arguments to function

reply via email to

[Prev in Thread] Current Thread [Next in Thread]