All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amarnath Valluri <amarnath.valluri@intel.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: qemu-devel@nongnu.org, stefanb@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v6 4/8] tpm-backend: Made few interface methods optional
Date: Sat, 22 Jul 2017 07:32:24 +0300	[thread overview]
Message-ID: <1500697944.4962.44.camel@intel.com> (raw)
In-Reply-To: <CAJ+F1CKjMFFBA-0W0QZPze5o5vd+rzFkMvF4oWYyfPWQQ-rXwA@mail.gmail.com>

On Tue, 2017-07-18 at 10:15 +0000, Marc-André Lureau wrote:
> Hi
> 
> On Tue, Jul 18, 2017 at 10:48 AM Amarnath Valluri
> <amarnath.valluri@intel.com> wrote:
> 
>         This allows backend implementations left optional interface
>         methods.
>         For mandatory methods assertion checks added.
>         
>         Took the opportunity to remove unused methods:
>           tpm_backend_get_type()
>           tpm_backend_get_desc()
>         
>         Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
>         Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>         Reviewed-by: Stefan Berger<stefanb@linux.vnet.ibm.com>
>         ---
>          backends/tpm.c               | 36
>         +++++++++++++++++-------------------
>          hw/tpm/tpm_passthrough.c     | 23 +----------------------
>          include/sysemu/tpm_backend.h | 19 +------------------
>          tpm.c                        |  2 +-
>          4 files changed, 20 insertions(+), 60 deletions(-)
> 
>    LINK    x86_64-softmmu/qemu-system-x86_64
> ../tpm.o: In function `qmp_query_tpm_inst':
> /home/elmarco/src/qq/tpm.c:261: undefined reference to
> `tpm_backend_get_type'
> collect2: error: ld returned 1 exit status
Thanks Marc, for pointing it out, i will this patch.

- Amarnath

  reply	other threads:[~2017-07-22  4:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18  8:48 [Qemu-devel] [PATCH v6 0/8] Provide support for the software TPM emulator Amarnath Valluri
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 1/8] tpm-backend: Remove unneeded member variable from backend class Amarnath Valluri
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 2/8] tpm-backend: Move thread handling inside TPMBackend Amarnath Valluri
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 3/8] tpm-backend: Initialize and free data members in it's own methods Amarnath Valluri
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 4/8] tpm-backend: Made few interface methods optional Amarnath Valluri
2017-07-18 10:15   ` Marc-André Lureau
2017-07-22  4:32     ` Amarnath Valluri [this message]
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 5/8] tmp backend: Add new api to read backend TpmInfo Amarnath Valluri
2017-07-18 10:39   ` Marc-André Lureau
2017-07-18 14:28     ` Eric Blake
2017-07-22  4:30       ` Amarnath Valluri
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 6/8] tpm-backend: Move realloc_buffer() implementation to tpm-tis model Amarnath Valluri
2017-07-18 10:50   ` Marc-André Lureau
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 7/8] tpm-passthrough: move reusable code to utils Amarnath Valluri
2017-07-18 11:17   ` Marc-André Lureau
2017-07-18  8:49 ` [Qemu-devel] [PATCH v6 8/8] tpm: Added support for TPM emulator Amarnath Valluri
2017-07-18 12:08   ` Marc-André Lureau
2017-07-18 13:40     ` Stefan Berger
2017-07-22  4:52     ` Amarnath Valluri
2017-07-18 14:39   ` Stefan Berger
2017-07-20 14:42     ` Valluri, Amarnath
2017-07-18 15:05   ` Stefan Berger
2017-07-26  0:18   ` Stefan Berger
2017-07-26  3:49     ` Amarnath Valluri
2017-07-26 14:54       ` Dr. David Alan Gilbert
2017-07-18  8:59 ` [Qemu-devel] [PATCH v6 0/8] Provide support for the software " no-reply

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=1500697944.4962.44.camel@intel.com \
    --to=amarnath.valluri@intel.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanb@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.