From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjwqQ-0000cL-Sj for qemu-devel@nongnu.org; Tue, 04 Jun 2013 15:24:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjwqO-0001Zy-Ei for qemu-devel@nongnu.org; Tue, 04 Jun 2013 15:24:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjwqO-0001Zk-5e for qemu-devel@nongnu.org; Tue, 04 Jun 2013 15:24:32 -0400 Message-ID: <51AE3EC3.70908@redhat.com> Date: Tue, 04 Jun 2013 13:23:47 -0600 From: Eric Blake MIME-Version: 1.0 References: <1370369921-14925-1-git-send-email-coreyb@linux.vnet.ibm.com> In-Reply-To: <1370369921-14925-1-git-send-email-coreyb@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2GOMWUHGDLKFQROXTGVMK" Subject: Re: [Qemu-devel] [PATCH 0/2] TPM NVRAM persistent storage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Bryant Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanb@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, jschopp@linux.vnet.ibm.com, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2GOMWUHGDLKFQROXTGVMK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/04/2013 12:18 PM, Corey Bryant wrote: > This patch series provides persistent storage support that a TPM > can use to store NVRAM data. It uses QEMU's block driver to store > data on a drive image. The libtpms TPM 1.2 backend will be the > initial user of this functionality to store data that must persist > through a reboot or migration. A sample command line may look like > this: >=20 > qemu-system-x86_64 ... > -drive file=3D/path/to/nvram.qcow2,id=3Ddrive-nvram0-0-0 > -tpmdev libtpms,id=3Dtpm-tpm0 > -device tpm-tis,tpmdev=3Dtpm-tpm0,id=3Dtpm0,drive=3Ddrive-nvram0-0-0 Is a TPM device hot-pluggable? If so, do you have a design for the QMP counterpart in mind? >=20 > Thanks, > Corey >=20 > Corey Bryant (2): > nvram: Add TPM NVRAM implementation > nvram: Add tpm-tis drive support >=20 > hw/tpm/Makefile.objs | 1 + > hw/tpm/tpm_int.h | 2 + > hw/tpm/tpm_nvram.c | 399 ++++++++++++++++++++++++++++++++++++++++++= ++++++++ > hw/tpm/tpm_nvram.h | 25 +++ > hw/tpm/tpm_tis.c | 8 + > 5 files changed, 435 insertions(+), 0 deletions(-) > create mode 100644 hw/tpm/tpm_nvram.c > create mode 100644 hw/tpm/tpm_nvram.h >=20 >=20 >=20 >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2GOMWUHGDLKFQROXTGVMK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRrj7DAAoJEKeha0olJ0Nqrq0H/3TlJK12sza39jE3sVXzWjmR M8iiAu6x2Zua+K2mjq7c1dD66drRBx8TigX5nZemHvzm/RlTRG/+DQsX2zwrxlxo worEgYuyff+TvvZ+pQsAABrUxkAkkdWJk/tDVOsg0XSgumKF6fni095va0OcuKfx 3WsjY68HKvG0DaHIMfMqAJb/xLjhxw6NcT/V9GDvUT2nQbbcW4wwIYzQiFvrhovz oj7OjuO9O5g8Xoa9ACqkaThdBak94ME6YBxOWZby2jftomqCwDTxRmuKp2NVRFk6 YlbvUi+pQ7OIpq8v+pGYQ7Gnh+MQYjU+FdBJT/6pI7/u7UflVUs3r26Gv59J5NI= =MKuc -----END PGP SIGNATURE----- ------enig2GOMWUHGDLKFQROXTGVMK--