From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: luoyonggang@gmail.com, Paolo Bonzini <pbonzini@redhat.com>,
qemu-level <qemu-devel@nongnu.org>
Subject: Re: Where does these TPM flags comes from?
Date: Mon, 7 Sep 2020 22:51:04 +0200 [thread overview]
Message-ID: <5a758e6b-161b-878e-e7f2-70358c6d9369@redhat.com> (raw)
In-Reply-To: <CAE2XoE_k-=TT8S3vjbf_4c0kR96NhZ87zmfrYBxbStXyeb=FLA@mail.gmail.com>
On 9/7/20 10:45 PM, 罗勇刚(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
This device is available but disabled by default.
By default only the configurations defined in default-configs/
are built, but you can add customized configuration.
This allow you to add or reduce the set of features you want
your build to have.
next prev parent reply other threads:[~2020-09-07 20:52 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é [this message]
2020-09-08 6:32 ` Paolo Bonzini
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=5a758e6b-161b-878e-e7f2-70358c6d9369@redhat.com \
--to=philmd@redhat.com \
--cc=luoyonggang@gmail.com \
--cc=pbonzini@redhat.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).