diff options
author | Matthew Fioravante <matthew.fioravante@jhuapl.edu> | 2012-11-13 10:46:59 +0000 |
---|---|---|
committer | Matthew Fioravante <matthew.fioravante@jhuapl.edu> | 2012-11-13 10:46:59 +0000 |
commit | dde22055ac3aa45eb9ec4b297874638c2a25c320 (patch) | |
tree | 2dde597a27cfdf14e4db8d0aa6fd7b572a11313a /tools/libxl/xl_cmdtable.c | |
parent | e1a53273fc1e06ef5bed32348c80639d4661c994 (diff) | |
download | xen-dde22055ac3aa45eb9ec4b297874638c2a25c320.tar.gz xen-dde22055ac3aa45eb9ec4b297874638c2a25c320.tar.bz2 xen-dde22055ac3aa45eb9ec4b297874638c2a25c320.zip |
libxl: add vtpm support
This patch adds vtpm support to libxl. It adds vtpm parsing to config
files and 3 new xl commands:
vtpm-attach
vtpm-detach
vtpm-list
Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r-- | tools/libxl/xl_cmdtable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c index d3a215d247..ac586420bf 100644 --- a/tools/libxl/xl_cmdtable.c +++ b/tools/libxl/xl_cmdtable.c @@ -341,6 +341,21 @@ struct cmd_spec cmd_table[] = { "Destroy a domain's virtual block device", "<Domain> <DevId>", }, + { "vtpm-attach", + &main_vtpmattach, 1, 1, + "Create a new virtual TPM device", + "<Domain> [uuid=<uuid>] [backend=<BackDomain>]", + }, + { "vtpm-list", + &main_vtpmlist, 0, 0, + "List virtual TPM devices for a domain", + "<Domain(s)>", + }, + { "vtpm-detach", + &main_vtpmdetach, 0, 1, + "Destroy a domain's virtual TPM device", + "<Domain> <DevId|uuid>", + }, { "uptime", &main_uptime, 0, 0, "Print uptime for all/some domains", |