From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM Bug with Windows 2000 Date: Mon, 19 Mar 2007 13:20:42 +0200 Message-ID: <45FE720A.6070502@qumranet.com> References: <45F98A78.7040309@bahntechnik.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070403050709010903070707" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Daniel Hecken Return-path: In-Reply-To: <45F98A78.7040309-LcvzS2Pvy/8X0D0ZMPkEVw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------070403050709010903070707 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Daniel Hecken wrote: > Hello! > > I have installed Windows 2000 on KVM SVN snapshot 4539 and the module > from the git master branch. My Computer has an Intel Core 2 Duo and runs > an x86 distribution (Ubuntu Feisty with Kernel 2.6.20). > > After the installation without kvm I tried to start the image with kvm > and get the exception in the appendix. > > Let me know if the attached patch fixes this. -- error compiling committee.c: too many arguments to function --------------070403050709010903070707 Content-Type: text/x-patch; name="win-acpi-boot.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="win-acpi-boot.patch" diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 55139e0..a721b60 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -618,7 +618,7 @@ static void fix_pmode_dataseg(int seg, struct kvm_save_segment *save) { struct kvm_vmx_segment_field *sf = &kvm_vmx_segment_fields[seg]; - if (vmcs_readl(sf->base) == save->base) { + if (vmcs_readl(sf->base) == save->base && (save->base & AR_S_MASK)) { vmcs_write16(sf->selector, save->selector); vmcs_writel(sf->base, save->base); vmcs_write32(sf->limit, save->limit); --------------070403050709010903070707 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --------------070403050709010903070707 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------070403050709010903070707--