From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/3] kvm: fix cr0 initialization on SIPI reset Date: Sun, 25 Oct 2009 11:40:51 +0200 Message-ID: <4AE41D23.4080200@redhat.com> References: <1256359800-16893-1-git-send-email-ehabkost@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Eduardo Habkost Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64125 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114AbZJYJkx (ORCPT ); Sun, 25 Oct 2009 05:40:53 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9P9ews2022274 for ; Sun, 25 Oct 2009 05:40:58 -0400 In-Reply-To: <1256359800-16893-1-git-send-email-ehabkost@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/24/2009 06:49 AM, Eduardo Habkost wrote: > Hi, > > The following patches fix a bug on the SIPI reset code for SVM. cr0 was not > being reset properly, making KVM keep the vcpu on paging mode, thus not > being able to run the real-mode boostrap code. This bug was reported at: > https://bugzilla.redhat.com/show_bug.cgi?id=525699 > > The first patch is cosmetic, and it just changes the vmx code to use the same > macros when initializing cr0, instead of a hardcoded hex value. > > The patches were tested by running a RHEL-5.4 guest and and triggering the > SIPI reset by offlining and onlining cpus on the guest. They were tested on > both NPT-enabled and NPT-disabled cases. > Applied, thanks. -- error compiling committee.c: too many arguments to function