From: Stefan Berger <stef...@linux.vnet.ibm.com>

Compile the TPM passthrough device emulation on ppc64.

Signed-off-by: Stefan Berger <stef...@linux.vnet.ibm.com>
CC: Alexander Graf <ag...@suse.de>
CC: qemu-...@nongnu.org
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 83b40fc..82ca1b5 100755
--- a/configure
+++ b/configure
@@ -3229,7 +3229,8 @@ fi
 ##########################################
 # TPM passthrough is only on x86 Linux
 
-if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64; then
+if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64 \
+    -o "$cpu" = ppc64; then
   tpm_passthrough=$tpm
 else
   tpm_passthrough=no
-- 
2.4.3


Reply via email to