From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel De Graaf Subject: Re: regarding vtpm setup Date: Fri, 07 Mar 2014 10:57:26 -0500 Message-ID: <5319EC66.5080200@tycho.nsa.gov> References: <531639EE.8030200@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Aastha Mehta Cc: George Dunlap , xen-devel List-Id: xen-devel@lists.xenproject.org On 03/07/2014 07:19 AM, Aastha Mehta wrote: > Hello, > > Thank you for your response. > [...] >> >> >> Have you tested to see if the vTPM shows up in the guest? If so, can you use >> it? >> > > I can see /dev/tpm0 in the guest. And I am able to use the vtpm in the > guest So far, I did only tpm_version, but I see messages showing up on > the vtpm and the vtpmmgr console. This indicates that the vTPM is working as it is supposed to. >> What do the Xenstore entries for the vtpm devices look like (from >> xenstore-ls)? >> >> Do the event channels there match with the event channel dump (xl debug-key >> e)? >> > > I see a lot of entries in xl debug-keys dump. I can match all the > event channels in the xenstore entries with the ones from xl > debug-keys dump. However, there are some entries in xl debug-keys > which I cannot find in xenstore. I do not understand what those are.. > > The ones that match are appended with "<<". > Note, vtpmmgr = domid 2, vtpm = domid 3, guest = domid 4. Event channels can be created for other reasons besides those recorded in xenstore: the xenstore event channel itself and the guest console are some examples. If you are getting TPM responses, the event channels are wired up correctly. -- Daniel De Graaf National Security Agency