|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] linux: Fix an error path in save/restore
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1176231645 -3600
# Node ID 87e2174b8a0dddcfaad6963c4cb81f38953d2810
# Parent 380db34694d7ceb80a4e8f21211c2e10047d92e5
linux: Fix an error path in save/restore code.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c | 2 ++
1 files changed, 2 insertions(+)
diff -r 380db34694d7 -r 87e2174b8a0d
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Tue Apr 10
11:40:43 2007 -0700
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Tue Apr 10
20:00:45 2007 +0100
@@ -209,6 +209,8 @@ int __xen_suspend(int fast_suspend)
if (fast_suspend) {
xenbus_suspend();
err = stop_machine_run(take_machine_down, &fast_suspend, 0);
+ if (err < 0)
+ xenbus_suspend_cancel();
} else {
err = take_machine_down(&fast_suspend);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] linux: Fix an error path in save/restore code.,
Xen patchbot-unstable <=
|
|
|
|
|