debuggers.hg
changeset 19681:916331c26dc1
pvgrub: few lines in shutdown_blkfront were removed by mistake.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Tue May 26 10:05:27 2009 +0100 (2009-05-26) |
parents | dc7de36c94e3 |
children | ad59f1c032ec |
files | extras/mini-os/blkfront.c |
line diff
1.1 --- a/extras/mini-os/blkfront.c Tue May 26 10:04:10 2009 +0100 1.2 +++ b/extras/mini-os/blkfront.c Tue May 26 10:05:27 2009 +0100 1.3 @@ -244,6 +244,10 @@ void shutdown_blkfront(struct blkfront_d 1.4 xenbus_wait_for_value(path, "5", &dev->events); 1.5 1.6 err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6); 1.7 + xenbus_wait_for_value(path, "6", &dev->events); 1.8 + 1.9 + err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1); 1.10 + xenbus_wait_for_value(path, "2", &dev->events); 1.11 1.12 xenbus_unwatch_path(XBT_NIL, path); 1.13