From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 11/11] KVM: SVM: Don't call instruction emulator for invd and wbinvd Date: Sun, 21 Feb 2010 12:37:08 +0100 Message-ID: <20100221113708.GH20833@8bytes.org> References: <1266592990-8911-1-git-send-email-joerg.roedel@amd.com> <1266592990-8911-12-git-send-email-joerg.roedel@amd.com> <4B81028A.7080909@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Joerg Roedel , Marcelo Tosatti , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity Return-path: Received: from 8bytes.org ([88.198.83.132]:33625 "EHLO 8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700Ab0BULhK (ORCPT ); Sun, 21 Feb 2010 06:37:10 -0500 Content-Disposition: inline In-Reply-To: <4B81028A.7080909@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Feb 21, 2010 at 11:53:14AM +0200, Avi Kivity wrote: > On 02/19/2010 05:23 PM, Joerg Roedel wrote: >> There is an intercept for WBINVD and INVD in SVM so we don't >> need the instruction emulator. The primary reason is that >> the current instruction emulator fails to emulate these >> instructions and the rip is not advanced. >> > > The bios (at least bochs bios) does have wbinvd, so this ought to work. Weird. For some reason the Windows 7 XP emulation was executing wbinvd which caused an nested intercept for the host level and the rip was not advanced. So the nested guest did not advance and just produces wbinvd intercepts all the time. Joerg