From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Oops for sale Date: Mon, 09 Jun 2008 18:54:01 +0200 Message-ID: <484D6029.1020209@redhat.com> References: <48494341.1060007@redhat.com> <4849A2B7.1030305@qumranet.com> <484D3310.6070908@redhat.com> <484D5B4F.3080300@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([66.187.233.31]:34628 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbYFIQyI (ORCPT ); Mon, 9 Jun 2008 12:54:08 -0400 In-Reply-To: <484D5B4F.3080300@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > The unshadow-on-userspace-access heuristic is broken. Since it is also > bad for Xenner, try removing the following lines: > > spte |= PT_WRITABLE_MASK; Well, that line should better not be removed. I get a hang otherwise, guess due to running into a page-fault loop ... > if (user_fault) { > mmu_unshadow(vcpu->kvm, gfn); > goto unshadowed; > } Deactivating those four lines fixed it. thanks, Gerd -- http://kraxel.fedorapeople.org/xenner/