xm: Fix xm shutdown for xendomains.

If xm shutdown command is passed the domain ID, it should still wait
for the shutdown completion of the domain if passed option --wait.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2008-04-08 09:57:37 +01:00
1 parent 67b5d35497
commit 7c4dc2c627
1 file changed
+1 -1
+1 -1
View File
@@ -144,7 +144,7 @@ def main_all(opts, args):
def main_dom(opts, args):
if len(args) == 0: opts.err('No domain parameter given')
if len(args) > 1: opts.err('No multiple domain parameters allowed')
dom = args[0]
dom = sxp.child_value(server.xend.domain(args[0]), 'name')
if serverType == SERVER_XEN_API:
dom = get_single_vm(dom)
mode = shutdown_mode(opts)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.