Re: [PATCH] virsh: schedinfo --set invalid=value would simply ignore the option

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

 



Daniel P. Berrange wrote:
>> Subject: [PATCH] virsh: schedinfo --set invalid=value would simply ignore the option
>>
>> For example, virsh -c test:///default schedinfo 1 --set P=k would
>> mistakenly exit successfully, giving no indication that it had failed
>> to set the scheduling parameter "P".
>> * tools/virsh.c (cmdSchedinfo): Diagnose an invalid --set j=k option,
>> rather than silently ignoring it.
>> * tests/virsh-schedinfo: New test for the above.
>> * tests/Makefile.am (test_scripts): Add it.
>> Reported by Jintao Yang in http://bugzilla.redhat.com/586632
...
>> diff --git a/tests/virsh-schedinfo b/tests/virsh-schedinfo
>> +# Copyright (C) 2010 Free Software Foundation, Inc.
>
> I think you mean Red Hat :-)

Yes.  Adjusted.
I'm about to fix the 8 other test scripts that do that.

>> +# This program is free software: you can redistribute it and/or modify
...

> ACK, looks good to me - surprisingly easy to catch

Thanks.
Pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]