[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] How to make xl support the old version of vTPM tools
- To: Bei Guan <gbtju85@xxxxxxxxx>
- From: "Xu, Quan" <quan.xu@xxxxxxxxx>
- Date: Wed, 26 Jun 2013 08:17:42 +0000
- Accept-language: en-US
- Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
- Delivery-date: Wed, 26 Jun 2013 08:18:22 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Thread-index: AQHOciovUGtH/62GcUWxSJdI7S+m0plHcY1Q//+MRgCAAIZ1wP//mFCAgACH4UA=
- Thread-topic: [Xen-devel] How to make xl support the old version of vTPM tools
From: xen-devel-bounces@xxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxx]
On Behalf Of Bei Guan
Sent: Wednesday, June 26, 2013 4:03 PM
To: Xu, Quan
Cc: Daniel De Graaf; xen-devel
Subject: Re: [Xen-devel] How to make xl support the old version of vTPM tools
2013/6/26 Xu, Quan <quan.xu@xxxxxxxxx>
Yes, I try to enable vTPM in Xen-4.3-unstable. There are some difference between xen
4.3 and previous version. in Xen 4.3 we’ll be moving to a “stubdomain-only” model, unifying the vtpm system and making it much more secure.
How to deal with migration is an interesting and necessary topic for vTPM. BTW my team
will try to enable below 3 topics:
1. enable xen vTPM to allow programs to interact with a TPM in a virtual machine, the same way they interact with a TPM on the physical system.
2. intergrate xen vTPM in openstack cloud. virtual machine in OpenStack can work with Xen vTPM.
3. promote TPM 2.0 in Xen. Xen vTPM can run on TPM 2.0.
What about trying to enable vTPM together first.
It's a great idea. I'd like to. But, I don't have the TPM physical chip in my computer. The work I did with latest vTPM in Xen-4.3-unstable is based on the TPM emulator. As the Xen guys advised before, it seems that it
will be easier to make vTPM work on the TPM physical chip than a emulate one.
Pat Pat, as Xen-4.3-unstable/docs/misc/vtpm.txt, you must have an machine with a TPM on the motherboard.
…..
Prerequisites:
--------------
You
must have an x86 machine with a TPM on the motherboard.
…..
Emulate TPM does NOT work for Xen-4.3-unstable vTPM.
In Xen release note wiki (http://wiki.xen.org/wiki/Xen_4.3_Release_Notes),
it noted ‘qemu-upstream is now the default for VMs not using stub domains. You can change this by adding device_model_version = "qemu-xen-traditional" to your config file.’
Maybe it is a good approach to make it work. I will try it this afternoon.
BTW:
XSM should enable first.
I use the PV guest and maybe this option device_model_version doesn't work.
Thanks
Quan Xu
From: Bei
Guan [mailto:gbtju85@xxxxxxxxx]
Sent: Wednesday, June 26, 2013 2:12 PM
To: Xu, Quan
Cc: xen-devel
Subject: Re: [Xen-devel] How to make xl support the old version of vTPM tools
Do you use the new version of vTPM, which uses the vtpm-stubdom? I failed to make it work in my computer before. Moreover, it doesn't
support the VM migration now. So, I just port the old version vTPM (got it from the Xen-3.4.2/tools/) to the Xen-4.3-unstable. It doesn't use the vtpm-stubdom.
2013/6/26 Xu, Quan <quan.xu@xxxxxxxxx>
Hi, Guan
Could you enable vTPM now? My vTPM is always print out below error when I enable
vtpm-stubdom.
ERROR[VTPM]: LoadKey failure: Unrecognized uuid! f70b429c-c7e4-41be-948f-76991f57a3bf
ERROR[VTPM]: Failed to load key
ERROR in vtpmmgr_LoadHashKey at vtpm_cmd_handler.c:78 code: TPM_BAD_PARAMETER.
Could you share some experience? Thanks in advance.
Quan
Hi,
I'd like to use some advanced functions of vTPM, such as migration. So, I try to port the old version of vTPM tools (tools/vtpm and tools/vtpm_manager in Xen-3.4.2 )
to Xen-4.3 unstable.
Now, the vtm-manager can communicate with vtmd, but DomU cannot boot when it's configured with a vtpm option in the config file. I think maybe xl doesn't support
the old vTPM tools very well. If this is the case, can you give me some advice on how to modify the xl to support the old vTPM?
--
Best Regards,
--
Best Regards,
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|