vtpm state machine fix
PATCH 1/1 vtpm state machine fix
Changeset 9134 introduced a caching mechanism when xenbus_switch_state is invoked. This causes a problem in the resume part of a suspend-resume cycle due to the backend not seeing that a state in the frontend was set. This patch fixes this in the TPM frontend driver.
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c +2 -1
@@ -310,7 +310,8 @@ again: goto abort_transaction; } - err =xenbus_switch_state (dev, xbt, XenbusStateInitialised); + err =xenbus_printf (xbt, dev->nodename, +"state" ,"%d" , XenbusStateInitialised);if (err) { goto abort_transaction; }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel