Cover Letter Detail
Show a cover letter.
GET /api/covers/819452/?format=api
{ "id": 819452, "url": "http://patchwork.ozlabs.org/api/covers/819452/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/1506590409-28857-1-git-send-email-amarnath.valluri@intel.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1506590409-28857-1-git-send-email-amarnath.valluri@intel.com>", "list_archive_url": null, "date": "2017-09-28T09:20:01", "name": "[v9,0/8] Provide support for the software TPM", "submitter": { "id": 71320, "url": "http://patchwork.ozlabs.org/api/people/71320/?format=api", "name": "Valluri, Amarnath", "email": "amarnath.valluri@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/cover/1506590409-28857-1-git-send-email-amarnath.valluri@intel.com/mbox/", "series": [ { "id": 5516, "url": "http://patchwork.ozlabs.org/api/series/5516/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=5516", "date": "2017-09-28T09:20:02", "name": "Provide support for the software TPM", "version": 9, "mbox": "http://patchwork.ozlabs.org/series/5516/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/819452/comments/", "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2q2P3VK5z9t2c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 19:21:49 +1000 (AEST)", "from localhost ([::1]:58104 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dxV0t-0002U0-G2\n\tfor incoming@patchwork.ozlabs.org; Thu, 28 Sep 2017 05:21:47 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:59161)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <amarnath.valluri@intel.com>) id 1dxUyC-0000nW-6s\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 05:19:01 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <amarnath.valluri@intel.com>) id 1dxUy8-0000cf-V7\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 05:19:00 -0400", "from mga11.intel.com ([192.55.52.93]:13925)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <amarnath.valluri@intel.com>)\n\tid 1dxUy8-0000bz-NK\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 05:18:56 -0400", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Sep 2017 02:18:54 -0700", "from avallurigigabyte.fi.intel.com ([10.237.68.147])\n\tby orsmga005.jf.intel.com with ESMTP; 28 Sep 2017 02:18:53 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.42,449,1500966000\"; d=\"scan'208\";a=\"154306479\"", "From": "Amarnath Valluri <amarnath.valluri@intel.com>", "To": "qemu-devel@nongnu.org", "Date": "Thu, 28 Sep 2017 12:20:01 +0300", "Message-Id": "<1506590409-28857-1-git-send-email-amarnath.valluri@intel.com>", "X-Mailer": "git-send-email 2.7.4", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "192.55.52.93", "Subject": "[Qemu-devel] [PATCH v9 0/8] Provide support for the software TPM", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "Amarnath Valluri <amarnath.valluri@intel.com>, =?utf-8?q?Marc-Andr?=\n\t=?utf-8?b?w6kgTHVyZWF1?= <marcandre.lureau@gmail.com>,\n\tStefan Berger <stefanb@linux.vnet.ibm.com>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "Briefly, Theses set of patches introduces:\n- new TPM backend driver to support software TPM emulators(swtpm(1)).\n- and few supported fixes/enhancements/cleanup to existing tpm backend code.\n\nThe similar idea was initiated earliar(2) by Stefan Berger(CCed) with slightly\ndifferent approach, using CUSE. As swtpm has excellent support for unix domain\nsockets, hence this implementation uses unix domain sockets to communicate with\nswtpm.\n\nWhen Qemu is configured with 'emulator' tpm backend, it spawns 'swtpm' and\ncommunicates its via Unix domain sockets.\n\n1) https://github.com/stefanberger/swtpm\n2) https://lists.nongnu.org/archive/html/qemu-devel/2016-01/msg00089.html\n\n** Changes in V2:\n- Made spawnning swtpm optional\n- used QIOChannel instead of plain unix sockets\n- incorporated other fixes pointed in v1 review\n\n** Changes in v3:\n- Addressed review comments made by Stefan Berger and Deniel\nP Berrange\n\n** Changes in v4:\n- Moved realloc_buffer() to TIS model\n- Made TpmInfo related change backwards compatible.\n\n** Changes in v5:\n- updated Reviewed-By: tag to git commits\n- added migration blocker to TPM emulator backend\n\n** Changes in v6:\n- rebased agianst latest master\n- Address review comments maded by Stefan Berger\n\n** Changes in v7:\n- rebased agianst latest master\n- Rewritten emulater backend using chardev backend\n\n** Changes in v[89]:\n- Address review comments maded by Stefan Berger and Marc-Andre\n- Removed unneeded had_startup_error() method from TPMDriverOps\n\nAmarnath Valluri (8):\n tpm-backend: Remove unneeded member variable from backend class\n tpm-backend: Move thread handling inside TPMBackend\n tpm-backend: Initialize and free data members in it's own methods\n tpm-backend: Made few interface methods optional\n tmp backend: Add new api to read backend TpmInfo\n tpm-backend: Move realloc_buffer() implementation to tpm-tis model\n tpm-passthrough: move reusable code to utils\n tpm: Added support for TPM emulator\n\n backends/tpm.c | 115 +++++---\n configure | 13 +-\n hmp.c | 5 +\n hw/tpm/Makefile.objs | 1 +\n hw/tpm/tpm_emulator.c | 599 +++++++++++++++++++++++++++++++++++++++\n hw/tpm/tpm_ioctl.h | 246 ++++++++++++++++\n hw/tpm/tpm_passthrough.c | 242 ++++------------\n hw/tpm/tpm_tis.c | 14 +-\n hw/tpm/tpm_util.c | 25 ++\n hw/tpm/tpm_util.h | 4 +\n include/sysemu/tpm_backend.h | 80 +++---\n include/sysemu/tpm_backend_int.h | 41 ---\n qapi/tpm.json | 21 +-\n qemu-options.hx | 22 +-\n tpm.c | 36 +--\n vl.c | 1 +\n 16 files changed, 1100 insertions(+), 365 deletions(-)\n create mode 100644 hw/tpm/tpm_emulator.c\n create mode 100644 hw/tpm/tpm_ioctl.h\n delete mode 100644 include/sysemu/tpm_backend_int.h" }