Received: from eggs.gnu.org ([2001:4830:134:3::10]:36952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zotbw-0001xd-U3 for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:39:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zotbr-0005mn-Iv for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:39:24 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zotbr-0005mF-Dn for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:39:19 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWK009WXOLGVDA0@mailout2.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Oct 2015 14:39:16 +0100 (BST) From: Pavel Fedin References: <1445396964-21189-1-git-send-email-shlomopongratz@gmail.com> <009e01d10bcc$8c4326a0$a4c973e0$@samsung.com> <00f601d10bed$fd8ac5e0$f8a051a0$@samsung.com> <013501d10bfc$7e0dc1f0$7a2945d0$@samsung.com> In-reply-to: Date: Wed, 21 Oct 2015 16:39:15 +0300 Message-id: <016b01d10c05$e1762080$a4626180$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable Content-language: ru Subject: Re: [Qemu-devel] [PATCH RFC V5 1/9] hw/intc: Implement GIC-500 support files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Shlomo Pongratz' Cc: peter.maydell@linaro.org, eric.auger@linaro.org, 'Shlomo Pongratz' , qemu-devel@nongnu.org, shannon.zhao@linaro.org, ashoks@broadcom.com, imammedo@redhat.com Hello! > Do you mean that in virt.c::create_gic I'll take the cpu's affinity = from the cpu's property and not directly from > ARM_CPU(qemu_get_cpu(i))->mp_affinity I mean that you can do it in your GIC's realize function. And, even = better, in arm_gicv3_common_realize(), because KVM GICv3 live migration = code will also need it: --- cut --- for (i =3D 0; i < s->num_cpu; i++) { Object *cpu =3D OBJECT(qemu_get_cpu(i)); s->cpu[i].mp_affinity =3D object_property_get_int(cpu, = "mp-affinity", NULL); } --- cut --- > I can do that but that depends on acceptance of your patch. Peter ACKed it, just he doesn't like having unused code: = http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg03105.html Just include it into your next respin and forget. :) Actually, i made = my RFC so that you could just take 0001 and 0002 from it and use for = your purpose. With additions, of course, if necessary. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia