[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 09/12] vTPM/TPM2: Support '--tpm2' extra command line.



On 12/14/2014 07:09 AM, Quan Xu wrote:
Make vtpm-stubdom domain compatible to launch on TPM 1.x / TPM 2.0.
Add:
..
      extra="--tpm2"
..
to launch vtpm-stubdom domain on TPM 2.0, ignore it on TPM 1.x. for
example,
vtpm-stubdom domain configuration on TPM 2.0:

kernel="/usr/lib/xen/boot/vtpmmgr-stubdom.gz"
memory=16
disk=["file:/var/scale/vdisk/vmgr,hda,w"]
name="vtpmmgr"
iomem=["fed40,5"]
extra="--tpm2"

vtpm-stubdom domain configuration on TPM 1.x:

kernel="/usr/lib/xen/boot/vtpmmgr-stubdom.gz"
memory=16
disk=["file:/var/scale/vdisk/vmgr,hda,w"]
name="vtpmmgr"
iomem=["fed40,5"]

This would be useful to add to docs/misc/vtpmmgr.txt; it is difficult
to find this documentation later if it is only present the commit
message.  Also, existing command line options are of the form "tpm2"
or "tpm2=1" rather than "--tpm2"; it would be nice if new options
remained consistent.

--
Daniel De Graaf
National Security Agency

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.