diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:27:46 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:27:46 +0000 |
commit | c5b5f2e9ffe06cb9d967a0e7842df89e00f17818 (patch) | |
tree | f53a11b361330bf6376c043eb936deea4c9cab93 /tools/examples | |
parent | 47ea4d5c24b977228a1465d1c6af8206e0e360d4 (diff) | |
download | xen-c5b5f2e9ffe06cb9d967a0e7842df89e00f17818.tar.gz xen-c5b5f2e9ffe06cb9d967a0e7842df89e00f17818.tar.bz2 xen-c5b5f2e9ffe06cb9d967a0e7842df89e00f17818.zip |
xm reboot: Fix wait option of xm reboot command
When I rebooted a domain by xm reboot command with wait option,
I saw the following message. But, rebooting the domain succeeded.
Domain vm1 destroyed for failed in rebooting
The cause why the message was shown is the domain is destroyed
temporarily by processing of xm reboot command. The domain
information is not gotten from Xend by server.xend.domains()
function till recreating the domain is completed.
This patch fixes processing of xm reboot command in Xm side.
It waits just a bit till recreating the domain is completed,
then it measures the success or failure of the reboot of the
domain.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools/examples')
0 files changed, 0 insertions, 0 deletions