From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 13/20] KVM: x86 emulator: fix memory access during x86 emulation Date: Sun, 07 Mar 2010 12:07:49 +0200 Message-ID: <4B937AF5.5020004@redhat.com> References: <1266414330-27444-1-git-send-email-avi@redhat.com> <1266414330-27444-14-git-send-email-avi@redhat.com> <4B925E66.5@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Stefan Bader Return-path: In-Reply-To: <4B925E66.5@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.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