qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V21 7/7] Introduce --enable-tpm-passthrough conf


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH V21 7/7] Introduce --enable-tpm-passthrough configure option
Date: Fri, 08 Feb 2013 16:42:22 -0600
User-agent: Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Stefan Berger <address@hidden> writes:

> Introduce --enable-tpm-passthrough configure option.

You're duplicating the subject line here.

Regards,

Anthony Liguori

>
> Signed-off-by: Stefan Berger <address@hidden>
> ---
>  configure | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/configure b/configure
> index b7359aa..b4f0a82 100755
> --- a/configure
> +++ b/configure
> @@ -227,6 +227,7 @@ seccomp=""
>  glusterfs=""
>  virtio_blk_data_plane=""
>  tpm="no"
> +tpm_passthrough="no"
>  
>  # parse CC options first
>  for opt do
> @@ -900,11 +901,20 @@ for opt do
>    ;;
>    --enable-tpm) tpm="yes"
>    ;;
> +  --enable-tpm-passthrough) tpm_passthrough="yes"
> +  ;;
>    *) echo "ERROR: unknown option $opt"; show_help="yes"
>    ;;
>    esac
>  done
>  
> +if test "$tpm" = "no" ; then
> +    if test "$tpm_passthrough" = "yes"; then
> +        echo "ERROR: --enable-tpm-passthrough requires --enable-tpm"
> +        exit 1
> +    fi
> +fi
> +
>  case "$cpu" in
>      sparc)
>             LDFLAGS="-m32 $LDFLAGS"
> @@ -1150,6 +1160,7 @@ echo "  --disable-glusterfs      disable GlusterFS 
> backend"
>  echo "  --enable-gcov            enable test coverage analysis with gcov"
>  echo "  --gcov=GCOV              use specified gcov [$gcov_tool]"
>  echo "  --enable-tpm             enable TPM support"
> +echo "  --enable-tpm-passthrough enable TPM passthrough driver"
>  echo ""
>  echo "NOTE: The object files are built at the place where configure is 
> launched"
>  exit 1
> @@ -3349,6 +3360,7 @@ echo "virtio-blk-data-plane $virtio_blk_data_plane"
>  echo "gcov              $gcov_tool"
>  echo "gcov enabled      $gcov"
>  echo "TPM support       $tpm"
> +echo "TPM passthrough   $tpm_passthrough"
>  
>  if test "$sdl_too_old" = "yes"; then
>  echo "-> Your SDL version is too old - please upgrade to have SDL support"
> @@ -4258,6 +4270,11 @@ fi
>  
>  if test "$tpm" = "yes"; then
>    if test "$target_softmmu" = "yes" ; then
> +    if test "$linux" = "yes" ; then
> +      if test "$tpm_passthrough" = "yes" ; then
> +        echo "CONFIG_TPM_PASSTHROUGH=y" >> $config_host_mak
> +      fi
> +    fi
>      echo "CONFIG_TPM=y" >> $config_host_mak
>    fi
>  fi
> -- 
> 1.7.11.7



reply via email to

[Prev in Thread] Current Thread [Next in Thread]