All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] sh_pci fix
@ 2011-08-28 15:37 Avi Kivity
  2011-08-29 14:52 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Kivity @ 2011-08-28 15:37 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori

Anthony, please pull from

   git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/urgent

to receive a fix for boundless recursion in the sh target, due to a bug 
in the memory API conversion.

Avi Kivity (1):
       sh_pci: Fix sh_pci memory alias confusion

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

diff --git a/hw/sh_pci.c b/hw/sh_pci.c
index 76061bb..36f3930 100644
--- a/hw/sh_pci.c
+++ b/hw/sh_pci.c
@@ -150,7 +150,7 @@ static int sh_pci_init_device(SysBusDevice *dev)
                                PCI_DEVFN(0, 0), 4);
      memory_region_init_io(&s->memconfig_p4, &sh_pci_reg_ops, s,
                            "sh_pci", 0x224);
-    memory_region_init_alias(&s->memconfig_a7, "sh_pci.2", 
&s->memconfig_a7,
+    memory_region_init_alias(&s->memconfig_a7, "sh_pci.2", 
&s->memconfig_p4,
                               0, 0x224);
      isa_mmio_setup(&s->isa, 0x40000);
      sysbus_init_mmio_cb2(dev, sh_pci_map, sh_pci_unmap);

-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-29 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-28 15:37 [Qemu-devel] [PULL] sh_pci fix Avi Kivity
2011-08-29 14:52 ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.