|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix argument check of xm reboot command (3)
Hi,
I tested unlikely operations about the xm reboot/shutdown command.
As a result, I found the following problems.
Problem 1: Can reboot/shutdown Domain-0 by mistake.
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1024 2 r----- 31.0
# xm reboot 0
Error: Can't specify Domain-0
# xm reboot 00
#
Broadcast message from root (console) (Thu Jul 6 23:50:09 2006):
The system is going down for reboot NOW!
Problem 2: Can not reboot/shutdown domain of domain name '0'.
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
0 1 256 1 -b---- 3.5
Domain-0 0 1024 2 r----- 29.8
# xm reboot 0
Error: Can't specify Domain-0
I fixed these problems with this patch.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
reboot-3.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 argument check of xm reboot command (3),
Masaki Kanno <=
|
|
|
|
|