From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9B1W-0005Xr-Uw for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:27:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9B1V-0001xr-OR for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:27:14 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:49100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9B1V-0001xR-IE for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:27:13 -0400 Message-ID: <4E841DCB.8090806@web.de> Date: Thu, 29 Sep 2011 09:27:07 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1317278706-16105-1-git-send-email-david@gibson.dropbear.id.au> <1317278706-16105-2-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1317278706-16105-2-git-send-email-david@gibson.dropbear.id.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig708EEE8C8B5B142769EE645E" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] [PATCH 1/3] pseries: Support SMT systems for KVM Book3S-HV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: agraf@suse.de, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig708EEE8C8B5B142769EE645E Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 =2E.. > @@ -76,6 +78,9 @@ int kvm_arch_init(KVMState *s) > cap_interrupt_level =3D kvm_check_extension(s, KVM_CAP_PPC_IRQ_LEV= EL); > cap_segstate =3D kvm_check_extension(s, KVM_CAP_PPC_SEGSTATE); > cap_booke_sregs =3D kvm_check_extension(s, KVM_CAP_PPC_BOOKE_SREGS= ); > +#ifdef KVM_CAP_PPC_SMT > + cap_ppc_smt =3D 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 --------------enig708EEE8C8B5B142769EE645E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6EHc4ACgkQitSsb3rl5xSEAQCfUTglWB+yTGWcSEs4fcWYcmfA jDoAoO7ssAZlUXidRCgijCqFg+ruTDZl =9QUB -----END PGP SIGNATURE----- --------------enig708EEE8C8B5B142769EE645E--