qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Add mp-affinity property for ARM CPU class
@ 2015-10-09  9:52 Pavel Fedin
  2015-10-13 17:54 ` Peter Maydell
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Fedin @ 2015-10-09  9:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: 'Peter Maydell', 'Andrew Jones'

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 <p.fedin@samsung.com>
---
Since this popped up several times on the mailing list, i decided to publish this early.
---
 target-arm/cpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target-arm/cpu.c b/target-arm/cpu.c
index b48da33..3ebcebe 100644
--- a/target-arm/cpu.c
+++ b/target-arm/cpu.c
@@ -1379,6 +1379,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.5.msysgit.0

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

end of thread, other threads:[~2015-10-14 19:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09  9:52 [Qemu-devel] [PATCH] Add mp-affinity property for ARM CPU class Pavel Fedin
2015-10-13 17:54 ` Peter Maydell
2015-10-13 20:01   ` Peter Crosthwaite
2015-10-14  6:48     ` Pavel Fedin
2015-10-14  6:52   ` Pavel Fedin
2015-10-14 19:31     ` Peter Maydell

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