[Top][All Lists]

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

[Qemu-arm] [PATCH v3 17/19] hw/arm/virt: Wire up memory region to CPUs e

From: Peter Maydell
Subject: [Qemu-arm] [PATCH v3 17/19] hw/arm/virt: Wire up memory region to CPUs explicitly
Date: Thu, 14 Jan 2016 13:52:53 +0000

Wire up the system memory region to the CPUs explicitly
by setting the QOM property. This doesn't change anything
over letting it default, but will be needed for adding
a secure memory region later.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
 hw/arm/virt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index fd52b76..c9addad 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1092,6 +1092,9 @@ static void machvirt_init(MachineState *machine)
                                     "reset-cbar", &error_abort);
+        object_property_set_link(cpuobj, OBJECT(sysmem), "memory",
+                                 &error_abort);
         object_property_set_bool(cpuobj, true, "realized", NULL);

reply via email to

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