From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanpeng Li Subject: Re: [PATCH v6 2/2] KVM: nVMX: nested TPR shadow/threshold emulation Date: Fri, 22 Aug 2014 16:44:07 +0800 Message-ID: <20140822084407.GA6610@kernel> References: <1408621610-9665-1-git-send-email-wanpeng.li@linux.intel.com> <1408621610-9665-2-git-send-email-wanpeng.li@linux.intel.com> <53F5E720.9000308@redhat.com> <20140821233029.GA2420@kernel> <53F700F7.8020909@redhat.com> Reply-To: Wanpeng Li Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Marcelo Tosatti , Gleb Natapov , Zhang Yang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <53F700F7.8020909@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Aug 22, 2014 at 10:36:07AM +0200, Paolo Bonzini wrote: >Il 22/08/2014 01:30, Wanpeng Li ha scritto: >> Maybe I misunderstand your comments "On real hardware you could poin= t >> the virtual-APIC page to an invalid address." >> http://lists.openwall.net/linux-kernel/2014/08/07/344 >>=20 > >That referred to an address that doesn't correspond to RAM. You can u= se >addresses like these in a real processor. > >But the manual says that "if the =E2=80=9Cuse TPR shadow=E2=80=9D VM-e= xecution control >is 1, VM entry ensures that the virtual-APIC address is 4-KByte aligne= d" >(24.6.8 Controls For APIC Virtualization). This is the check that is >missing. Ok, thanks. Regards, Wanpeng Li=20 > >Paolo