[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix argument check of xm reboot command (3)




On 6 Jul 2006, at 17:08, Masaki Kanno wrote:

 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.
Problem 2: Can not reboot/shutdown domain of domain name '0'.

Wouldn't this be better checked in xend after it has converted domain name to domid, and an appropriate error string returned to the RPC caller? Putting the checking in xm seems a bit unnatural and means that other callers do not benefit.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.