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

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



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


 


Rackspace

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