From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: Laurent Vivier <lvivier@redhat.com>,
Cornelia Huck <cohuck@redhat.com>,
pbonzini@redhat.com
Cc: marcandre.lureau@redhat.com, thuth@redhat.com,
qemu-devel@nongnu.org, f4bug@amsat.org
Subject: Re: [Qemu-devel] [PATCH v2] tpm: move qdev_prop_tpm to hw/tpm/
Date: Mon, 18 Dec 2017 15:10:38 -0500 [thread overview]
Message-ID: <1bb44350-bb7b-86a9-cc7c-8ddde2419629@linux.vnet.ibm.com> (raw)
In-Reply-To: <c8748f83-b98e-6dd2-ddf5-6620f6b36f30@redhat.com>
On 12/18/2017 02:40 PM, Laurent Vivier wrote:
> On 18/12/2017 19:36, Cornelia Huck wrote:
>> Building with --disable-tpm yields
>>
>> ../hw/core/qdev-properties-system.o: In function `set_tpm':
>> /home/cohuck/git/qemu/hw/core/qdev-properties-system.c:274: undefined reference to `qemu_find_tpm_be'
>> /home/cohuck/git/qemu/hw/core/qdev-properties-system.c:278: undefined reference to `tpm_backend_init'
>> ../hw/core/qdev-properties-system.o: In function `release_tpm':
>> /home/cohuck/git/qemu/hw/core/qdev-properties-system.c:291: undefined reference to `tpm_backend_reset'
>>
>> Move the implementation of DEFINE_PROP_TPMBE to hw/tpm/ so that it is
>> only built when tpm is actually configured, and build tpm_util in every
>> case.
>>
>> Fixes: 493b78303532 ("qdev: add DEFINE_PROP_TPMBE")
>> Reported-by: Thomas Huth <thuth@redhat.com>
>> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
>> ---
>> v1->v2: fix x86_64 build with mingw (always build tpm_util)
>> ---
>> hw/core/qdev-properties-system.c | 64 --------------------------------------
>> hw/tpm/Makefile.objs | 5 +--
>> hw/tpm/tpm_util.c | 67 ++++++++++++++++++++++++++++++++++++++++
>> hw/tpm/tpm_util.h | 3 ++
>> include/hw/qdev-properties.h | 2 --
>> 5 files changed, 73 insertions(+), 68 deletions(-)
>>
> Reviewed-by: Laurent Vivier <lvivier@redhat.com>
>
>
>
Thanks. Preparing a pull request for tomorrow.
Stefan
prev parent reply other threads:[~2017-12-18 20:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 18:36 [Qemu-devel] [PATCH v2] tpm: move qdev_prop_tpm to hw/tpm/ Cornelia Huck
2017-12-18 19:40 ` Laurent Vivier
2017-12-18 20:10 ` Stefan Berger [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=1bb44350-bb7b-86a9-cc7c-8ddde2419629@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=cohuck@redhat.com \
--cc=f4bug@amsat.org \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).