From: Paolo Bonzini <pbonzini@redhat.com>
To: luoyonggang@gmail.com, qemu-level <qemu-devel@nongnu.org>
Subject: Re: Where does these TPM flags comes from?
Date: Tue, 8 Sep 2020 08:32:02 +0200 [thread overview]
Message-ID: <c4e73e4f-3a0b-363c-f518-1ece3848806c@redhat.com> (raw)
In-Reply-To: <CAE2XoE_k-=TT8S3vjbf_4c0kR96NhZ87zmfrYBxbStXyeb=FLA@mail.gmail.com>
On 07/09/20 22:45, 罗勇刚(Yonggang Luo) wrote:
> tpm_ss = ss.source_set()
>
> tpm_ss.add(files('tpm_backend.c'))
> tpm_ss.add(files('tpm_util.c'))
> tpm_ss.add(when: 'CONFIG_TPM_PASSTHROUGH', if_true:
> files('tpm_passthrough.c'))
> tpm_ss.add(when: 'CONFIG_TPM_EMULATOR', if_true: files('tpm_emulator.c'))
>
> softmmu_ss.add_all(when: 'CONFIG_TPM', if_true: tpm_ss)
>
> I can not found the config for CONFIG_TPM_PASSTHROUGH and
> CONFIG_TPM_EMULATOR
>
It comes from *-config-devices.mak, which is created by
scripts/minikconf.py based on these rules from backends/tpm/Kconfig:
config TPM_BACKEND
bool
depends on TPM
config TPM_PASSTHROUGH
bool
default y
# FIXME: should check for x86 host as well
depends on TPM_BACKEND && LINUX
config TPM_EMULATOR
bool
default y
depends on TPM_BACKEND
Paolo
prev parent reply other threads:[~2020-09-08 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 20:45 Where does these TPM flags comes from? 罗勇刚(Yonggang Luo)
2020-09-07 20:51 ` Philippe Mathieu-Daudé
2020-09-08 6:32 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4e73e4f-3a0b-363c-f518-1ece3848806c@redhat.com \
--to=pbonzini@redhat.com \
--cc=luoyonggang@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).