qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 01/11] memory: add owner argument to initiali


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v2 01/11] memory: add owner argument to initialization functions
Date: Tue, 02 Jul 2013 01:20:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Am 02.07.2013 01:16, schrieb Andreas Färber:
> Am 28.06.2013 18:58, schrieb Paolo Bonzini:
>> Signed-off-by: Paolo Bonzini <address@hidden>
> 
> Since the ppc-next merge, something like the attached is necessary for
> iommu-for-anythony branch to apply to master.

Add to that the ppc KVM-only:

diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c
index 6775879..dc08031 100644
--- a/hw/intc/openpic_kvm.c
+++ b/hw/intc/openpic_kvm.c
@@ -155,7 +155,7 @@ static void kvm_openpic_init(Object *obj)
 {
     KVMOpenPICState *opp = KVM_OPENPIC(obj);

-    memory_region_init_io(&opp->mem, &kvm_openpic_mem_ops, opp,
+    memory_region_init_io(&opp->mem, NULL, &kvm_openpic_mem_ops, opp,
                           "kvm-openpic", 0x40000);
 }


Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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