qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 05/23] target-arm: Add mp-affinity property for ARM


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 05/23] target-arm: Add mp-affinity property for ARM CPU class
Date: Mon, 9 May 2016 18:29:31 +0100

From: Pavel Fedin <address@hidden>

This allows to override default affinity IDs on a per-machine basis, and
possibility to retrieve IDs will be used by vGICv3 live migration code.

Signed-off-by: Pavel Fedin <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
---
 target-arm/cpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target-arm/cpu.c b/target-arm/cpu.c
index 7e9a273..103ef67 100644
--- a/target-arm/cpu.c
+++ b/target-arm/cpu.c
@@ -1414,6 +1414,7 @@ static Property arm_cpu_properties[] = {
     DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false),
     DEFINE_PROP_UINT32("psci-conduit", ARMCPU, psci_conduit, 0),
     DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0),
+    DEFINE_PROP_UINT64("mp-affinity", ARMCPU, mp_affinity, 0),
     DEFINE_PROP_END_OF_LIST()
 };
 
-- 
1.9.1




reply via email to

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