From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnbiB-0001dr-2s for qemu-devel@nongnu.org; Mon, 23 Aug 2010 14:25:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Onbi9-00065v-Up for qemu-devel@nongnu.org; Mon, 23 Aug 2010 14:25:34 -0400 Received: from thoth.sbs.de ([192.35.17.2]:21436) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Onbi9-00065j-KQ for qemu-devel@nongnu.org; Mon, 23 Aug 2010 14:25:33 -0400 Message-ID: <4C72BCE1.5020105@siemens.com> Date: Mon, 23 Aug 2010 20:24:33 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4C6D86F9.3010602@codemonkey.ws> <4C6D98E7.9020109@codemonkey.ws> <4C6DA75D.40303@codemonkey.ws> <4C6ECBB7.7060608@codemonkey.ws> <4C718865.7010807@redhat.com> <4C719080.4030202@codemonkey.ws> <4C720B1F.3030206@redhat.com> <4C727646.3040903@codemonkey.ws> <4C727ACC.7080501@redhat.com> <4C727C43.2040704@codemonkey.ws> <4C727EF5.6060402@redhat.com> <4C72851E.50405@codemonkey.ws> <4C72869A.3030302@redhat.com> <4C728A12.2090006@codemonkey.ws> <4C729C32.5040803@codemonkey.ws> In-Reply-To: <4C729C32.5040803@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2 0/7] APIC/IOAPIC cleanup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "Liu @mail.corp.redhat.com>> \"Liu, Jinsong\"" , Markus Armbruster , qemu-devel , Blue Swirl , Avi Kivity , Paul Brook Anthony Liguori wrote: > On 08/23/2010 10:10 AM, Markus Armbruster wrote: >> You lost me. A few messages upthread. >> >> What's the *practical* problem again? >> > > CPU hotplug adds a local APIC to Sysbus but Sysbus does not allow hot plug. > > I believe the right short term way to fix this is to take the local APIC > off of Sysbus. The right long term fix is to not make the local APIC a > qdev device and instead fold it into CPUX86State. This pushes the issue to the CPU. I'm convinced CPUs should become qdevs as well, so we need a hotplug-capable bus anyway. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux