qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] linux-headers: update to pre-4.20 (kvm/queu


From: Roman Kagan
Subject: Re: [Qemu-devel] [PATCH 1/2] linux-headers: update to pre-4.20 (kvm/queue)
Date: Tue, 9 Oct 2018 13:17:42 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Oct 09, 2018 at 03:01:12PM +0200, Vitaly Kuznetsov wrote:
> Roman Kagan <address@hidden> writes:
> 
> > On Mon, Oct 08, 2018 at 01:27:25PM +0200, Vitaly Kuznetsov wrote:
> >> This brings us three new defines: KVM_CAP_ARM_INJECT_SERROR_ESR,
> >> KVM_CAP_MSR_PLATFORM_INFO and KVM_CAP_HYPERV_SEND_IPI.
> >> 
> >> Signed-off-by: Vitaly Kuznetsov <address@hidden>
> >> ---
> >>  linux-headers/linux/kvm.h | 7 +++++--
> >>  1 file changed, 5 insertions(+), 2 deletions(-)
> >> 
> >> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
> >> index 66790724f1..043f1e58b6 100644
> >> --- a/linux-headers/linux/kvm.h
> >> +++ b/linux-headers/linux/kvm.h
> >> @@ -9,7 +9,7 @@
> >>   */
> >>  
> >>  #include <linux/types.h>
> >> -
> >> +#include <linux/compiler.h>
> >>  #include <linux/ioctl.h>
> >>  #include <asm/kvm.h>
> >>  
> >> @@ -481,7 +481,7 @@ struct kvm_dirty_log {
> >>    __u32 slot;
> >>    __u32 padding1;
> >>    union {
> >> -          void *dirty_bitmap; /* one bit per page */
> >> +          void __user *dirty_bitmap; /* one bit per page */
> >
> > Hmm, I thought "__user" and friends are supposed to get stripped while
> > "make headers_install".
> 
> ... and of course I forgot about this, will send v2, thanks!

Are you trying to say you didn't follow the regular linux header
harvesting process, which is to use scripts/update-linux-headers.sh
(which does 'make headers_install' and then applies further sanitizing,
so that problems like this wouldn't have popped up)?  I think you
should, unless this is an interim patchset pending the merge of the
corresponding KVM changes in the mainline kernel.

Roman.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]