Hi all,
this patch fixes the problem recently noticed with pv grub: few lines in
shutdown_blkfront were removed by mistake.
Signed-off-by: Stefano Stabellini <
stefano.stabellini@xxxxxxxxxxxxx>
---
diff -r 61404d971c92 extras/mini-os/blkfront.c
--- a/extras/mini-os/blkfront.c Thu May 21 04:31:47 2009 +0100
+++ b/extras/mini-os/blkfront.c Mon May 25 11:28:51 2009 +0100
@@ -244,6 +244,10 @@
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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-devel