[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] pvgrub: few lines in shutdown_blkfront were removed by mistake.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243328727 -3600
# Node ID 916331c26dc1a312182e771c8a9c28fa0997d3c9
# Parent  dc7de36c94e355883d6736bc4f39243cea45fdaf
pvgrub: few lines in shutdown_blkfront were removed by mistake.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 extras/mini-os/blkfront.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r dc7de36c94e3 -r 916331c26dc1 extras/mini-os/blkfront.c
--- a/extras/mini-os/blkfront.c Tue May 26 10:04:10 2009 +0100
+++ b/extras/mini-os/blkfront.c Tue May 26 10:05:27 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.