view tools/vtpm/README @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children c0796e18b6a4 f8e7af29daa1
line source
2 Directory Structure
3 ===================
4 tools/vtpm/tpm_emulator-0.2b.tar.gz -> TPM Emulator downloaded at build time that will
5 be patched and used for our vtpms
6 tools/vtpm/vtpm.patch -> patch applied to tpm_emulator to make vtpm
7 tools/vtpm/vtpm/ -> (created on build) tpm_emulator moved to ring 3,
8 listens on a pair of fifos for TPM commands,
9 persistent state is sent via named fifo to vtpm
10 manager, which encrypts it and protects it.
11 tools/vtpm/tpm_emulator.patch -> To allow for debugging and testing on non-TPM
12 platforms, this patches the emulator to allow
13 it to be inserted into the dom0 kernel
14 tools/vtpm/tpm_emulator-0.2 -> (created on build) directory containing patched emulator
16 Compile Flags
17 ===================
18 VTPM_MULTI_VM -> Defined (not finished): VTPMs run in their own VMs
19 Not Defined (default): VTPMs are processes
21 Requirements
22 ============
23 - xen-unstable
24 - IBM frontend/backend vtpm driver patch
25 - vtpm_managerd
27 vtpmd Flow (for vtpm_manager. vtpmd never run by default)
28 ============================
29 - Launch the VTPM manager (vtpm_managerd) which which begins listening to the BE with one thread
30 and listens to a named fifo that is shared by the vtpms to commuincate with the manager.
31 - VTPM Manager listens to TPM BE.
32 - When xend launches a tpm frontend equipped VM it contacts the manager over the vtpm backend.
33 - When the manager receives the open message from the BE, it launches a vtpm
34 - Xend allows the VM to continue booting.
35 - When a TPM request is issued to the front end, the front end transmits the TPM request to the backend.
36 - The manager receives the TPM requests and uses a named fifo to forward the request to the vtpm.
37 - The fifo listener begins listening for the reply from vtpm for the request.
38 - Vtpm processes request and replies to manager over shared named fifo.
39 - If needed, the vtpm may send a request to the vtpm_manager at any time to save it's secrets to disk.
40 - Manager receives response from vtpm and passes it back to backend for forwarding to guest.
42 tpm_emulator flow
43 ==================
44 Read documentation in tpm_emulator-0.2 directory