From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScwhG-0006CC-Pv for qemu-devel@nongnu.org; Fri, 08 Jun 2012 06:45:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScwhA-0007YD-Kr for qemu-devel@nongnu.org; Fri, 08 Jun 2012 06:45:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37660 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScwhA-0007Y6-ER for qemu-devel@nongnu.org; Fri, 08 Jun 2012 06:45:32 -0400 Message-ID: <4FD1D7C6.1010303@suse.de> Date: Fri, 08 Jun 2012 12:45:26 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1337742502-28565-1-git-send-email-afaerber@suse.de> <1337742502-28565-5-git-send-email-afaerber@suse.de> <20120608082006.GA22512@thinkpad.mammed.net> <4FD1C1AF.2020208@suse.de> <4FD1D243.7090600@siemens.com> <4FD1D5A2.8090008@suse.de> In-Reply-To: <4FD1D5A2.8090008@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Igor Mammedov Cc: Paolo Bonzini , Anthony Liguori , "qemu-devel@nongnu.org" , Igor Mammedov Am 08.06.2012 12:36, schrieb Andreas F=E4rber: > Am 08.06.2012 12:21, schrieb Jan Kiszka: >> On 2012-06-08 11:11, Andreas F=E4rber wrote: >>> >From what I understand about the x86 modeling, the only case this >>> matters is if you hot-unplug CPU 0, right? Question is, what happens >>> with the APIC then? I would guess the remaining n-1 CPUs still want t= o >>> access the APIC >> >> APICs are per-CPU, each has its own. >=20 > Uh, seems I'm seriously confusing APIC with something else then... Guess I misread this as apic_init() in Igor's patch: + if (env->cpu_index =3D=3D 0) { + apic_designate_bsp(env->apic_state); + } Shame on me. :/ /-F --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg