|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvm, vtpm: Fix wait for an outstanding re
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171900306 0
# Node ID ac570a3c79a2ae436883fbb16adb5c1e53558982
# Parent ee6e484403a98b86273e60024090d3e566018eda
hvm, vtpm: Fix wait for an outstanding response.
Post the interrupt upon reception of the response and adapt the
state machine.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
tools/ioemu/hw/tpm_tis.c | 2 ++
1 files changed, 2 insertions(+)
diff -r ee6e484403a9 -r ac570a3c79a2 tools/ioemu/hw/tpm_tis.c
--- a/tools/ioemu/hw/tpm_tis.c Mon Feb 19 15:50:29 2007 +0000
+++ b/tools/ioemu/hw/tpm_tis.c Mon Feb 19 15:51:46 2007 +0000
@@ -769,6 +769,8 @@ static void tpm_save(QEMUFile* f,void* o
if (n > 0) {
if (IS_VALID_LOC(s->active_loc)) {
s->loc[s->active_loc].sts = STS_VALID | STS_DATA_AVAILABLE;
+ s->loc[s->active_loc].state = STATE_COMPLETION;
+ tis_raise_irq(s, s->active_loc, INT_DATA_AVAILABLE);
}
/* close the connection with the vTPM for good */
close_vtpm_channel(s, 1);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] hvm, vtpm: Fix wait for an outstanding response.,
Xen patchbot-unstable <=
|
|
|
|
|