mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
pvgrub: few lines in shutdown_blkfront were removed by mistake.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
1 parent
e25dc9429b
commit
faeb2db71c
1 file changed
+4
@@ -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);
|
||||
|
||||
|
||||