Received: from eggs.gnu.org ([2001:4830:134:3::10]:35428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkUM7-0006gR-SO for qemu-devel@nongnu.org; Fri, 09 Oct 2015 05:52:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkUM4-00008D-Mr for qemu-devel@nongnu.org; Fri, 09 Oct 2015 05:52:51 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:32499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkUM4-00006z-HF for qemu-devel@nongnu.org; Fri, 09 Oct 2015 05:52:48 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NVY00M7I63WVS60@mailout2.w1.samsung.com> for qemu-devel@nongnu.org; Fri, 09 Oct 2015 10:52:44 +0100 (BST) From: Pavel Fedin Date: Fri, 09 Oct 2015 12:52:41 +0300 Message-id: <011d01d10278$3ed96260$bc8c2720$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-language: ru Subject: [Qemu-devel] [PATCH] Add mp-affinity property for ARM CPU class List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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