]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: improve schedinfo querying ability
authorEric Blake <eblake@redhat.com>
Tue, 17 May 2011 22:06:12 +0000 (16:06 -0600)
committerDaniel Veillard <veillard@redhat.com>
Sun, 29 May 2011 10:51:16 +0000 (18:51 +0800)
commit97f63513ff23dfa3bd00e5757b6db9e4a99c8aa9
tree55592e032491b1aeb8142881c6fc145e3d57d091
parentbaa371eca0f352c46ae06f43767fad4063a9d727
virsh: improve schedinfo querying ability

Since we can now set just --live or --config, we also need to be
able to query that back.

In the case of setting both --live and --config, it shouldn't matter
which value we read back; otherwise, since querying treats the two
flags as mutually exclusive, so does this patch.

* tools/virsh.c (cmdSchedinfo): Use new API where appropriate.
tools/virsh.c