From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754574AbcIVGsr (ORCPT ); Thu, 22 Sep 2016 02:48:47 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:37862 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbcIVGso (ORCPT ); Thu, 22 Sep 2016 02:48:44 -0400 MIME-Version: 1.0 In-Reply-To: <20160919134438.GA14268@potion> References: <1473839936-3393-1-git-send-email-wanpeng.li@hotmail.com> <9c0023da-be74-2fc2-0fd9-6bdfb62862b3@redhat.com> <20160914120325.GG15680@potion> <20160915155858.GE17296@potion> <20160919134438.GA14268@potion> From: Wanpeng Li Date: Thu, 22 Sep 2016 14:48:41 +0800 Message-ID: Subject: Re: [PATCH] KVM: VMX: Enable MSR-BASED TPR shadow even if w/o APICv To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Cc: Paolo Bonzini , "linux-kernel@vger.kernel.org" , kvm , Wanpeng Li , Wincy Van , Yang Zhang Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u8M6mpmh011388 [...] > >> Btw, I heard from Tianyu from Intel, you said there was a x2apic bug >> in kvm forum and the bug maybe in kvm, I guess I meet the same bug >> when run a windows guest(server version of windows 7, 2008 or 2012) w/ >> x2apic enabled in guest and -machine q35,kernel_irqchip=spit -device >> intel-iommu, intremap=on in the QEMU command line. > > Does it happen when you are running less than 8 VCPUs (max APIC ID < 8)? > QEMU always enabled x2APIC support in IOMMU (EIME) even though it > doesn't work under some configurations. I'm digging into the bug currently. :) Regards, Wanpeng Li