aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample3
diff options
context:
space:
mode:
authorshand@ubuntu.eng.hq.xensource.com <shand@ubuntu.eng.hq.xensource.com>2005-08-30 11:28:26 -0800
committershand@ubuntu.eng.hq.xensource.com <shand@ubuntu.eng.hq.xensource.com>2005-08-30 11:28:26 -0800
commitd22746ede91f366b9bb2582bd85e3e473308d11e (patch)
tree4f2b3e0aa9712d2453026e39e0c8139893b77cb0 /tools/examples/xmexample3
parent142a76728077e2bb2fdff6b0e41a0a0c29a6aec0 (diff)
downloadxen-d22746ede91f366b9bb2582bd85e3e473308d11e.tar.gz
xen-d22746ede91f366b9bb2582bd85e3e473308d11e.tar.bz2
xen-d22746ede91f366b9bb2582bd85e3e473308d11e.zip
Provide xend support for setting up TPM front- and back-end interfaces.
Signed-off-by: Steven Hand <steven@xensource.com> Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/examples/xmexample3')
-rw-r--r--tools/examples/xmexample314
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3
index fd96a7b201..1fa80cb2e3 100644
--- a/tools/examples/xmexample3
+++ b/tools/examples/xmexample3
@@ -80,6 +80,20 @@ vif = [ 'ip=192.168.%d.1/24' % (vmid)]
disk = [ 'phy:hda%d,hda1,w' % (vmid)]
#----------------------------------------------------------------------------
+# Define to which TPM instance the user domain should communicate.
+# The vtpm entry is of the form 'instance=INSTANCE,backend=DOM'
+# where INSTANCE indicates the instance number of the TPM the VM
+# should be talking to and DOM provides the domain where the backend
+# is located.
+# Note that no two virtual machines should try to connect to the same
+# TPM instance. The handling of all TPM instances does require
+# some management effort in so far that VM configration files (and thus
+# a VM) should be associated with a TPM instance throughout the lifetime
+# of the VM / VM configuration file. The instance number must be
+# greater or equal to 1.
+#vtpm = ['instance=%d,backend=0' % (vmid) ]
+
+#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.