[Android-virt] [PATCH] Fix linaro-kvm compile

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

 



On 5 March 2012 04:21, Rusty Russell <rusty at rustcorp.com.au> wrote:
> diff --git a/linux-headers/asm-arm/kvm.h b/linux-headers/asm-arm/kvm.h
> index ff88ca0..8caa83b 100644
> --- a/linux-headers/asm-arm/kvm.h
> +++ b/linux-headers/asm-arm/kvm.h
> @@ -55,6 +59,7 @@ struct kvm_regs {
> ? ? ? ? ? ? ? ?__u32 c1_sys;
> ? ? ? ? ? ? ? ?__u32 c2_base0;
> ? ? ? ? ? ? ? ?__u32 c2_base1;
> + ? ? ? ? ? ? ? __u32 c2_control;
> ? ? ? ? ? ? ? ?__u32 c3_dacr;
> ? ? ? ?} cp15;

Which kernel tree is this in? I checked Christoffer's kvm-a15-patches
branch and Marc's kvm-v3.3-rc1 and kvm-v6-v3.3-rc3 branches and none
of those seem to have this extra field.

We may not have frozen the ABI here yet but I'm starting to think
we need to be a bit more careful about coordinating updates to it
between kernel trees: QEMU can't track more than one of them...

(Or for this particular case just move to MANY_REGS for accessing
the cp15 regs and then we can just ignore missing regs at runtime
rather than having compile failures or breakage.)

-- PMM



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux