This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] [RESEND] Fix argument check of xm reboot command

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [RESEND] Fix argument check of xm reboot command (3)
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 22:10:55 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Jul 2006 06:11:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <3b98a90af48a9474fa18e19ed971fd46@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <74C6A116752B1Ckanno.masaki@xxxxxxxxxxxxxx> <3b98a90af48a9474fa18e19ed971fd46@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I made a patch again.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,

>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

Attachment: resend_reboot3.patch
Description: Binary data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>