From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754048Ab0CGKIK (ORCPT ); Sun, 7 Mar 2010 05:08:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54841 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753727Ab0CGKHz (ORCPT ); Sun, 7 Mar 2010 05:07:55 -0500 Message-ID: <4B937AF5.5020004@redhat.com> Date: Sun, 07 Mar 2010 12:07:49 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 MIME-Version: 1.0 To: Stefan Bader CC: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 13/20] KVM: x86 emulator: fix memory access during x86 emulation References: <1266414330-27444-1-git-send-email-avi@redhat.com> <1266414330-27444-14-git-send-email-avi@redhat.com> <4B925E66.5@canonical.com> In-Reply-To: <4B925E66.5@canonical.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2010 03:53 PM, Stefan Bader wrote: > i Avi, > > we currently try to integrate this patch for an update into a 2.6.32 based > system (amongst other kvm updates). But as soon as this patch gets added kvm > will die on startup in kvm_leave_lazy_mmu. This has been documented here: > > https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/531823 > > I have placed the backports of your patches, which are currently in linux-next > and marked for stable here: > > git://kernel.ubuntu.com/smb/linux-2.6.32.y kvm > > I have tested the failure with a version that got only the following patches in: > KVM: x86 emulator: Add Virtual-8086 mode of emulation > KVM: x86 emulator: fix memory access during x86 emulation > KVM: x86 emulator: Check IOPL level during io instruction emulation > KVM: x86 emulator: Fix popf emulation > KVM: x86 emulator: Check CPL level during privilege instruction emulation > > and also with a version that takes all stable patches up to the bad one: > KVM: VMX: Trap and invalid MWAIT/MONITOR instruction > KVM: x86 emulator: Add group8 instruction decoding > KVM: x86 emulator: Add group9 instruction decoding > KVM: x86 emulator: Add Virtual-8086 mode of emulation > KVM: x86 emulator: fix memory access during x86 emulation > > But as soon as the fix for memory access gets added, the bug will occur. Would > you have an idea what might be causing this? > Does the same guest, using the same qemu-kvm, work on kvm.git or upstream? -- error compiling committee.c: too many arguments to function