[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [VTPM] Add a missing initialization of a state variable in the TIS



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171546618 0
# Node ID 89d315c7dceabcad028e061b70f24a1822ed2ea5
# Parent  4bd0ea9c499f8bbf9544d45e788f943f8a313360
[VTPM] Add a missing initialization of a state variable in the TIS
device model so that the first response received after a resume is not
aborted.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/ioemu/hw/tpm_tis.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 4bd0ea9c499f -r 89d315c7dcea tools/ioemu/hw/tpm_tis.c
--- a/tools/ioemu/hw/tpm_tis.c  Thu Feb 15 13:36:00 2007 +0000
+++ b/tools/ioemu/hw/tpm_tis.c  Thu Feb 15 13:36:58 2007 +0000
@@ -881,6 +881,7 @@ void tpm_tis_init(SetIRQFunc *set_irq, v
     s->Transmitlayer = -1;
     s->tpmTx.fd[0] = -1;
     s->tpmTx.fd[1] = -1;
+    s->aborting_locty = NO_LOCALITY;
 
     tpm_initialize_instance(s, s->vtpm_instance);
     memset(s->buffer.buf,0,sizeof(s->buffer.buf));

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.