Re: Patch "KVM: X86: Fix SMRAM accessing even if VM is shutdown" has been added to the 4.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 07, 2018 at 01:48:52PM +0200, Thomas Backlund wrote:
> Den 07-03-2018 kl. 05:54, skrev gregkh@xxxxxxxxxxxxxxxxxxx:
> > 
> > This is a note to let you know that I've just added the patch titled
> > 
> >      KVM: X86: Fix SMRAM accessing even if VM is shutdown
> > 
> 
> 
> This one breaks build on 4.14 (and earlier I presume) as RET_PF_EMULATE was
> introduced in v4.15-rc1~79^2~8.

Yeah, I just found that out :(

> To fix the build on 4.14 you would need:
> 
> From 9b8ebbdb74b5ad76b9dfd8b101af17839174b126 Mon Sep 17 00:00:00 2001
> From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Date: Thu, 17 Aug 2017 15:03:32 +0200
> Subject: [PATCH] KVM: x86: extend usage of RET_MMIO_PF_* constants
> 
> 
> I haven't tested it on older kernels...

It doesn't apply on older kernels, so I'm having to drop the original
patch here from 4.4.y and 4.9.y.  If someone wants them there, please
provide working backports :)

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]