The code in FdoSuspend() currently acknowledges a suspend request by
removing the control/shutdown node from xenstore. This is not correct.
The documentation [1] states that a request should be acknowledged by
writing the empty string. This patch makes the code behave correctly.
[1] xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/xenstore-paths.markdown;hb=HEAD#l413
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
if (!NT_SUCCESS(status))
goto loop;
- (VOID) XENBUS_STORE(Remove,
+ (VOID) XENBUS_STORE(Printf,
&Fdo->StoreInterface,
NULL,
"control",
- "shutdown");
+ "shutdown",
+ "");
(VOID) XENBUS_SUSPEND(Trigger, &Fdo->SuspendInterface);