|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xm: Fix xm restore command.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200583427 0
# Node ID 6fdb108db46ca08700beb09a2189c6e6c124dc23
# Parent dc9916adaa1dff3ec1c8669820fb8a0937ffe011
xm: Fix xm restore command.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xm/main.py | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff -r dc9916adaa1d -r 6fdb108db46c tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Thu Jan 17 15:21:35 2008 +0000
+++ b/tools/python/xen/xm/main.py Thu Jan 17 15:23:47 2008 +0000
@@ -738,13 +738,10 @@ def xm_restore(args):
err("xm restore: Unable to read file %s" % savefile)
sys.exit(1)
- try:
- if serverType == SERVER_XEN_API:
- server.xenapi.VM.restore(savefile, paused)
- else:
- server.xend.domain.restore(savefile, paused)
- except Exception, ex:
- err("%s" % ex.faultString)
+ if serverType == SERVER_XEN_API:
+ server.xenapi.VM.restore(savefile, paused)
+ else:
+ server.xend.domain.restore(savefile, paused)
def datetime_to_secs(v):
_______________________________________________
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] xm: Fix xm restore command.,
Xen patchbot-unstable <=
|
|
|
|
|