[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] pseries: Support SMT systems for KVM Book3S
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] pseries: Support SMT systems for KVM Book3S-HV |
Date: |
Thu, 29 Sep 2011 09:27:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
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