# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243863696 -3600
# Node ID 4e9b06feed7e150959753f111c484f9fb38ffb7c
# Parent a19637a356c361d852fcee5c4357a0c6c4caa206
pvgrub: few lines in shutdown_blkfront were removed by mistake.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
xen-unstable changeset: 19643:916331c26dc1
xen-unstable date: Tue May 26 10:05:27 2009 +0100
---
extras/mini-os/blkfront.c | 4 ++++
1 files changed, 4 insertions(+)
diff -r a19637a356c3 -r 4e9b06feed7e extras/mini-os/blkfront.c
--- a/extras/mini-os/blkfront.c Mon Jun 01 14:41:13 2009 +0100
+++ b/extras/mini-os/blkfront.c Mon Jun 01 14:41:36 2009 +0100
@@ -244,6 +244,10 @@ void shutdown_blkfront(struct blkfront_d
xenbus_wait_for_value(path, "5", &dev->events);
err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6);
+ xenbus_wait_for_value(path, "6", &dev->events);
+
+ err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1);
+ xenbus_wait_for_value(path, "2", &dev->events);
xenbus_unwatch_path(XBT_NIL, path);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|