projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25dc94
)
pvgrub: few lines in shutdown_blkfront were removed by mistake.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 26 May 2009 09:05:27 +0000
(10:05 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 26 May 2009 09:05:27 +0000
(10:05 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
extras/mini-os/blkfront.c
patch
|
blob
|
history
diff --git
a/extras/mini-os/blkfront.c
b/extras/mini-os/blkfront.c
index 6fc2c96eac495f105110138661c0442a3a631205..1534747acb52fc14bd0c2a84263e537bc8ea0875 100644
(file)
--- a/
extras/mini-os/blkfront.c
+++ b/
extras/mini-os/blkfront.c
@@
-244,6
+244,10
@@
void shutdown_blkfront(struct blkfront_dev *dev)
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);