qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] pci_prep fix
@ 2011-09-25 14:18 Avi Kivity
  2011-09-26 13:29 ` Anthony Liguori
  2011-09-26 15:19 ` Andreas Färber
  0 siblings, 2 replies; 3+ messages in thread
From: Avi Kivity @ 2011-09-25 14:18 UTC (permalink / raw)
  To: Anthony Liguori, qemu-devel; +Cc: Alexander Graf

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

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

* Re: [Qemu-devel] [PULL] pci_prep fix
  2011-09-25 14:18 [Qemu-devel] [PULL] pci_prep fix Avi Kivity
@ 2011-09-26 13:29 ` Anthony Liguori
  2011-09-26 15:19 ` Andreas Färber
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2011-09-26 13:29 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, Alexander Graf

On 09/25/2011 09:18 AM, Avi Kivity wrote:
> Please pull from
>
> git://github.com/avikivity/qemu.git memory/urgent
>
> to receive for a fix which kills ppc_prep immediately after launch.

Pulled.  Thanks.

Regards,

Anthony Liguori

>
> 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);
>

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

* Re: [Qemu-devel] [PULL] pci_prep fix
  2011-09-25 14:18 [Qemu-devel] [PULL] pci_prep fix Avi Kivity
  2011-09-26 13:29 ` Anthony Liguori
@ 2011-09-26 15:19 ` Andreas Färber
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2011-09-26 15:19 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, Alexander Graf

Am 25.09.2011 16:18, schrieb Avi Kivity:
> 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);

Thanks for spotting that,

Andreas

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

end of thread, other threads:[~2011-09-26 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 14:18 [Qemu-devel] [PULL] pci_prep fix Avi Kivity
2011-09-26 13:29 ` Anthony Liguori
2011-09-26 15:19 ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).