Received: from eggs.gnu.org ([2001:4830:134:3::10]:50843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDXNR-00057a-6G for qemu-devel@nongnu.org; Wed, 24 May 2017 10:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDXNN-0006pW-5l for qemu-devel@nongnu.org; Wed, 24 May 2017 10:35:05 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:44057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDXNM-0006ob-Se for qemu-devel@nongnu.org; Wed, 24 May 2017 10:35:01 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v4OEOCEE020620 for ; Wed, 24 May 2017 10:34:59 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0a-001b2d01.pphosted.com with ESMTP id 2anbsbrufx-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 24 May 2017 10:34:59 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 24 May 2017 10:34:58 -0400 References: <1494921494-33717-1-git-send-email-amarnath.valluri@intel.com> <1494921494-33717-6-git-send-email-amarnath.valluri@intel.com> From: Stefan Berger Date: Wed, 24 May 2017 10:34:54 -0400 MIME-Version: 1.0 In-Reply-To: <1494921494-33717-6-git-send-email-amarnath.valluri@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <7d66c397-6dff-cdcf-b575-a8c57201f953@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v4 5/8] tmp backend: Add new api to read backend TpmInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amarnath Valluri , qemu-devel@nongnu.org On 05/16/2017 03:58 AM, Amarnath Valluri wrote: > TPM configuration options are backend implementation details and shall not be > part of base TPMBackend object, and these shall not be accessed directly outside > of the class, hence added a new interface method, get_tpm_options() to > TPMDriverOps., which shall be implemented by the derived classes to return > configured tpm options. > > A new tpm backend api - tpm_backend_query_tpm() which uses _get_tpm_options() to > prepare TpmInfo. > > Signed-off-by: Amarnath Valluri Reviewed-by: Stefan Berger