WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 752] New: xm sched-sedf silently ignores bad arguments

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 752] New: xm sched-sedf silently ignores bad arguments
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 31 Aug 2006 17:52:16 -0700
Delivery-date: Thu, 31 Aug 2006 17:53:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=752

           Summary: xm sched-sedf silently ignores bad arguments
           Product: Xen
           Version: 3.0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: robert.johnston@xxxxxxx


If you pass a bad argument to the sched-sedf subcommand then it is silently
ignored and xm(1) exits with status 0.   This makes it difficult to test or
write tools that wrap xm becuase there is no feedback that indicates that it
received bad input.  It would be better if it printed an appropriate error
message to STDERR and exited with a non-zero status.

This issue waas observed on a Linux dom0 running 3.0.2-2 and a Solaris dom0
running 3.0.2-3 (see output below)

# xm sched-sedf efi-z2 -p -1 -s 5
# echo $?
0
# uname -s -r
SunOS 5.11

[root@thermostat ~]# xm sched-sedf 3 -p -1 -s 5
[root@thermostat ~]# echo $?
0
[root@thermostat ~]# uname -s -r
Linux 2.6.16-xen


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 752] New: xm sched-sedf silently ignores bad arguments, bugzilla-daemon <=