Re: patch kvm-add-vt-x-machine-check-support.patch added to2.6.30-stable tree

From: Greg KH
Date: Tue Jun 30 2009 - 19:44:28 EST


On Wed, Jul 01, 2009 at 12:53:37AM +0200, Stefan Lippers-Hollmann wrote:
> Hi
>
> On Wednesday 01 July 2009, gregkh@xxxxxxx wrote:
> > This is a note to let you know that we have just queued up the patch titled
> >
> > Subject: KVM: Add VT-x machine check support
> >
> > to the 2.6.30-stable tree. Its filename is
> >
> > kvm-add-vt-x-machine-check-support.patch
> >
> > A git repo of this tree can be found at
> > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> >
> >
> > From a0861c02a981c943573478ea13b29b1fb958ee5b Mon Sep 17 00:00:00 2001
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > Date: Mon, 8 Jun 2009 17:37:09 +0800
> > Subject: KVM: Add VT-x machine check support
>
> This patch fails to compile if applied to 2.6.30 + current stable queue.
>
> arch/x86/kvm/vmx.c: In function 'vmx_vcpu_run':
> arch/x86/kvm/vmx.c:3573: error: 'exit_intr_info' undeclared (first use in this function)
> arch/x86/kvm/vmx.c:3573: error: (Each undeclared identifier is reported only once
> arch/x86/kvm/vmx.c:3573: error: for each function it appears in.)
> make[4]: *** [arch/x86/kvm/vmx.o] Error 1
> make[3]: *** [arch/x86/kvm] Error 2
> make[3]: *** Waiting for unfinished jobs....
>
> It seems to depend on the code refactoring introduced by
>
> From 7b4a25cb296e2a73d2e87a4af65361d45d450a27 Mon Sep 17 00:00:00 2001
> From: Gleb Natapov <gleb@xxxxxxxxxx>
> Date: Mon, 30 Mar 2009 16:03:08 +0300
> Subject: KVM: VMX: Fix handling of a fault during NMI unblocked due to IRET
>
> Bit 12 is undefined in any of the following cases:
> If the VM exit sets the valid bit in the IDT-vectoring information field.
> If the VM exit is due to a double fault.
>
> Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
>
> and followed up by the code movement in
>
> From 20f65983e30f222e5383f77206e3f571d1d64610 Mon Sep 17 00:00:00 2001
> From: Gleb Natapov <gleb@xxxxxxxxxx>
> Date: Mon, 11 May 2009 13:35:55 +0300
> Subject: KVM: Move "exit due to NMI" handling into vmx_complete_interrupts()
>
> To save us one reading of VM_EXIT_INTR_INFO.
>
> Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>

Thanks, I was building without kvm enabled in my configs and missed this
one.

I've added these two other patches and everything looks better.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/