Received: from eggs.gnu.org ([2001:4830:134:3::10]:45301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi50S-0003go-Rh for qemu-devel@nongnu.org; Fri, 02 Oct 2015 14:24:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zi50O-0005EK-Ax for qemu-devel@nongnu.org; Fri, 02 Oct 2015 14:24:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi50O-0005E2-5p for qemu-devel@nongnu.org; Fri, 02 Oct 2015 14:24:28 -0400 Date: Fri, 2 Oct 2015 15:24:24 -0300 From: Eduardo Habkost Message-ID: <20151002182424.GF30243@thinpad.lan.raisama.net> References: <20150922142901.444bfd35@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150922142901.444bfd35@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH v12 2/5] apic: use per CPU AS to map APIC MMIO for TCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Zhu Guihua , qemu-devel@nongnu.org, pbonzini@redhat.com, chen.fan.fnst@cn.fujitsu.com, izumi.taku@jp.fujitsu.com, afaerber@suse.de On Tue, Sep 22, 2015 at 02:29:01PM +0200, Igor Mammedov wrote: > On Wed, 16 Sep 2015 17:19:12 +0800 > Zhu Guihua wrote: > > > TCG supports per CPU address space, and the emulation quality is > > a bit better with it. > > So use per CPU address space to map APIC MMIO area. This allows the > > APIC base address of each cpu to be moved independent of others. > > > > Signed-off-by: Zhu Guihua > > Reviewed-by: Igor Mammedov The series seems to be OK when using KVM, but something is wrong with TCG. After applying this patch, my Fedora 20 image hangs on boot at: [ OK ] Started udev Coldplug all Devices. Starting dracut initqueue hook... [ OK ] Reached target System Initialization. [ OK ] Reached target Basic System. [ 8.988420] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 Before this patch, boot continues with: [ OK ] Reached target Basic System. [ 8.523293] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 [ 9.230955] vda: vda1 [ OK ] Started dracut initqueue hook. Mounting /sysroot... I am running QEMU as: $ ./x86_64-softmmu/qemu-system-x86_64 -drive if=virtio,file=/home/ehabkost/system/vmachines/Fedora-x86_64-20-20131211.1-sda.qcow2,format=qcow2 -machine pc,accel=tcg -smp 8,sockets=2,threads=2,cores=2,maxcpus=16 -serial stdio -nographic -monitor none -- Eduardo