diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2013-03-15 14:42:42 +0100 |
---|---|---|
committer | Martin Kletzander <mkletzan@redhat.com> | 2013-04-03 08:49:30 +0200 |
commit | e7cd2844ca2b0d716a520667eff286713963e2ec (patch) | |
tree | 69219c6584cdc48f56090242152e7e23bb1d7e66 /tools/virsh.pod | |
parent | 43b6f304bce5937f1e3a852b20b52a772b39b95f (diff) | |
download | libvirt-e7cd2844ca2b0d716a520667eff286713963e2ec.tar.gz |
Allow multiple parameters for schedinfo
virsh schedinfo was able to set only one parameter at a time (not
counting the deprecated options), but it is useful to set more at
once, so this patch adds the possibility to do stuff like this:
virsh schedinfo <domain> cpu_shares=0 vcpu_period=0 vcpu_quota=0 \
emulator_period=0 emulator_quota=0
Invalid scheduler options are reported as well. These were previously
reported only if the command hadn't updated any values (when
cmdSchedInfoUpdate returned 0).
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=810078
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=919372
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=919375
Diffstat (limited to 'tools/virsh.pod')
-rw-r--r-- | tools/virsh.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/virsh.pod b/tools/virsh.pod index 578b87808d..9ca4435a10 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1307,8 +1307,8 @@ except that it does some error checking. The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment variables, and defaults to C<vi>. -=item B<schedinfo> [I<--set> B<parameter=value>] I<domain> [[I<--config>] -[I<--live>] | [I<--current>]] +=item B<schedinfo> I<domain> [[I<--config>] [I<--live>] | [I<--current>]] +[[I<--set>] B<parameter=value>]... =item B<schedinfo> [I<--weight> B<number>] [I<--cap> B<number>] I<domain> |