From: Bernhard Held Subject: Re: KVM: MMU: handle large host sptes on invlpg/resync Date: Mon, 22 Dec 2008 23:29:19 +0100 Message-ID: <495014BF.3030207@mgpi.de> References: <20081222204930.GA3695@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , kvm-devel To: Marcelo Tosatti Return-path: Received: from smtp.mgpi.de ([212.202.249.42]:56313 "EHLO smtp.mgpi.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753887AbYLVW3X (ORCPT ); Mon, 22 Dec 2008 17:29:23 -0500 In-Reply-To: <20081222204930.GA3695@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: > The invlpg and sync walkers lack knowledge of large host sptes, > descending to non-existant pagetable level. > > Stop at directory level in such case. > > Fixes SMP Windows XP with hugepages. > > Signed-off-by: Marcelo Tosatti I happily confirm that with Marcelo's patch applied on kvm-81 my WXP guest is working again with hugepages and SMP. Thanks for the quick fix! Bernhard