On 2011-09-29 08:45, David Gibson wrote: > diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c > index 35a6f10..2c1bc7a 100644 > --- a/target-ppc/kvm.c > +++ b/target-ppc/kvm.c
... > @@ -76,6 +78,9 @@ int kvm_arch_init(KVMState *s) > cap_interrupt_level = kvm_check_extension(s, KVM_CAP_PPC_IRQ_LEVEL); > cap_segstate = kvm_check_extension(s, KVM_CAP_PPC_SEGSTATE); > cap_booke_sregs = kvm_check_extension(s, KVM_CAP_PPC_BOOKE_SREGS); > +#ifdef KVM_CAP_PPC_SMT > + cap_ppc_smt = kvm_check_extension(s, KVM_CAP_PPC_SMT); > +#endif Just use update-linux-headers.sh if the CAP is missing and drop the #ifdef. Same for patch 2 & 3. Jan
signature.asc
Description: OpenPGP digital signature