From patchwork Tue May 10 04:07:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Serge E. Hallyn" X-Patchwork-Id: 94935 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 81976B6F07 for ; Tue, 10 May 2011 14:07:26 +1000 (EST) Received: from localhost ([::1]:34359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJeEE-0003cK-B4 for incoming@patchwork.ozlabs.org; Tue, 10 May 2011 00:07:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJeE7-0003c1-QC for qemu-devel@nongnu.org; Tue, 10 May 2011 00:07:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJeE5-0005x9-Th for qemu-devel@nongnu.org; Tue, 10 May 2011 00:07:15 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:39298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJeE5-0005wy-Ri for qemu-devel@nongnu.org; Tue, 10 May 2011 00:07:13 -0400 X-Authority-Analysis: v=1.1 cv=qyUSAyc82z9xLljZQc9ErY9Tl2GSEfqK/XYZS35I9d8= c=1 sm=0 a=wom5GMh1gUkA:10 a=vgOXpQsXpgQA:10 a=Rj1_iGo3bfgA:10 a=kj9zAlcOel0A:10 a=g3F5VGk0NOMZWSIEWMgijA==:17 a=Zi38ebljiuxTOxPc-EsA:9 a=CjuIK1q_8ugA:10 a=g3F5VGk0NOMZWSIEWMgijA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 70.123.158.191 Received: from [70.123.158.191] ([70.123.158.191:42695] helo=serge-VPCF11KFX) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id C1/C6-08375-0F9B8CD4; Tue, 10 May 2011 04:07:13 +0000 Received: by serge-VPCF11KFX (Postfix, from userid 1000) id B9E961081C8F; Mon, 9 May 2011 23:07:12 -0500 (CDT) Date: Mon, 9 May 2011 23:07:12 -0500 From: "Serge E. Hallyn" To: Stefan Berger Message-ID: <20110510040712.GA5823@mail.hallyn.com> References: <20110506173224.278066589@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110506173224.278066589@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 71.74.56.124 Cc: serge@hallyn.com, qemu-devel@nongnu.org, andreas.niederl@iaik.tugraz.at Subject: Re: [Qemu-devel] [PATCH V4 00/10] Qemu Trusted Platform Module (TPM) integration X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org To get this to compile on top of qemu-kvm, I needed the following patch to force CONFIG_THREAD on so as to define things like qemu_mutex_lock: Index: qemu-kvm-tpm/configure =================================================================== --- qemu-kvm-tpm.orig/configure 2011-05-09 21:19:10.920002303 -0500 +++ qemu-kvm-tpm/configure 2011-05-09 21:19:22.150002305 -0500 @@ -3420,6 +3420,7 @@ exit 1 fi echo "CONFIG_TPM=y" >> $config_host_mak + echo "CONFIG_THREAD=y" >> $config_host_mak fi fi