aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/vtpm/vtpm.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2013-03-21 16:11:25 -0400
committerIan Campbell <ian.campbell@citrix.com>2013-04-12 14:28:17 +0100
commit58c2ab7588c4d27ac569494ae4ec8e81795d0ca3 (patch)
tree470f15a329a86c5faeb19f0b98bacf4f75ce2628 /stubdom/vtpm/vtpm.c
parent57c265546e7d12d2f44225928c6b5679ad0a14ba (diff)
downloadxen-58c2ab7588c4d27ac569494ae4ec8e81795d0ca3.tar.gz
xen-58c2ab7588c4d27ac569494ae4ec8e81795d0ca3.tar.bz2
xen-58c2ab7588c4d27ac569494ae4ec8e81795d0ca3.zip
stubdom/vtpm: make state save operation atomic
This changes the save format of the vtpm stubdom to include two copies of the saved data: one active, and one inactive. When saving the state, data is written to the inactive slot before updating the key and hash saved with the TPM Manager, which determines the active slot when the vTPM starts up. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Diffstat (limited to 'stubdom/vtpm/vtpm.c')
0 files changed, 0 insertions, 0 deletions