From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpJwR-0003iD-Bm for qemu-devel@nongnu.org; Thu, 12 Jul 2012 10:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpJwH-0005FX-JU for qemu-devel@nongnu.org; Thu, 12 Jul 2012 10:00:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpJwH-0005FR-Bb for qemu-devel@nongnu.org; Thu, 12 Jul 2012 10:00:17 -0400 Date: Thu, 12 Jul 2012 17:00:11 +0300 From: Gleb Natapov Message-ID: <20120712140011.GH7298@redhat.com> References: <1341951743-2285-1-git-send-email-ehabkost@redhat.com> <4FFED674.9090601@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FFED674.9090601@redhat.com> Subject: Re: [Qemu-devel] [RFC 0/7+1] QEMU APIC ID + topology bug + CPU hotplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: seabios@seabios.org, Eduardo Habkost , Anthony Liguori , qemu-devel@nongnu.org On Thu, Jul 12, 2012 at 03:51:48PM +0200, Igor Mammedov wrote: > On 07/10/2012 10:22 PM, Eduardo Habkost wrote: > >The hotplug case is a bit more complex: we need to either: > > - have a mechanism to let the ACPI SSDT code know what's the APIC ID of > > hotplugged CPUs; or > > - make Seabios run some code in the hotplugged CPU (I am assuming that this is > > simply not possible). > If SMM is supported by qemu/kvm than it will be possible to trigger SMI from > APCI method and SMI handler, that are supposed to run on all CPUs (including hot-plugged one) > , could fixup APIC ID of added CPU in some memory region used by ACPI. > SMM is not supported (arguably is should not be supported on real HW too), but even if it was default SMM address is 0x38000 IIRC and it is a middle of a memory and can be used by a guest OS. -- Gleb.