|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix error message of xm pause/unpause command
Hi,
When I tested the xm pause/unpause command, I found poor error messages.
The following is the error messages.
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 492 1 r----- 394.6
vm1 1 512 1 r----- 3.0
# xm pause 0
Error: (22, 'Invalid argument')
# xm pause vm2
Error: <Fault 3: 'vm2'>
# xm unpause 0
Error: (22, 'Invalid argument')
# xm unpause vm2
Error: <Fault 3: 'vm2'>
This patch fixes error messages as follows.
[root@tiger111 xen-ia64-unstable.hg.060707]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 492 1 r----- 1197.4
vm1 1 512 1 r----- 805.7
# xm pause 0
Error: Cannot pause privileged domain 0
# xm pause vm2
Error: the domain 'vm2' does not exist.
# xm unpause 0
Error: Cannot unpause privileged domain 0
# xm unpause vm2
Error: the domain 'vm2' does not exist.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
pause_unpause.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix error message of xm pause/unpause command,
Masaki Kanno <=
|
|
|
|
|