|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] [PATCH] Fix behavior of xm shutdown/reboot command for	Domai 
| Hi,
This patch fixes behavior of xm shutdown/reboot command for Domain-0.
>From wrong operation, we can prevent a system down with it.
Without this patch you see:
 # xm shutdown Domain-0
 # 
 Broadcast message from root (Fri Nov 17 19:13:24 2006):
 
 The system is going down for system halt NOW!
 # xm reboot 0
 #
 Broadcast message from root (console) (Fri Nov 17 21:26:08 2006):
 The system is going down for reboot NOW!
With this patch applied:
 # xm shutdown 0
 Error: Cannot shutdown and reboot privileged domain Domain-0
 Usage: xm shutdown <Domain> [-waRH]
 
 Shutdown a domain.
 # xm reboot Domain-0
 Error: Cannot shutdown and reboot privileged domain Domain-0
 Usage: xm reboot <Domain> [-wa]
 
 Reboot a domain.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
 Kan
  shutdown_and_reboot.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 behavior of xm shutdown/reboot command for	Domain-0,
Masaki Kanno <=
 |  |  | 
  
    |  |  |