All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [QEMU-DM] Add missing intitialization of variable in TIS dev. model
@ 2007-02-14 18:09 Stefan Berger
  0 siblings, 0 replies; only message in thread
From: Stefan Berger @ 2007-02-14 18:09 UTC (permalink / raw)
  To: Xen-devel; +Cc: keir

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

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@us.ibm.com>



[-- Attachment #2: tis_resume_fix.diff --]
[-- Type: text/x-patch, Size: 510 bytes --]

Index: root/xen-unstable.hg/tools/ioemu/hw/tpm_tis.c
===================================================================
--- root.orig/xen-unstable.hg/tools/ioemu/hw/tpm_tis.c
+++ root/xen-unstable.hg/tools/ioemu/hw/tpm_tis.c
@@ -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));

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-14 18:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 18:09 [PATCH] [QEMU-DM] Add missing intitialization of variable in TIS dev. model Stefan Berger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.