]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: cmdVcpuPin: Simplify handling of API flags
authorPeter Krempa <pkrempa@redhat.com>
Fri, 12 Feb 2016 05:15:47 +0000 (06:15 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 19 Feb 2016 14:13:21 +0000 (15:13 +0100)
commita7bc9841a4500314d5cc877e45b483c2ae3ce3f9
tree58b8e76e740eedb2e5d971db6dc52a883c36c233
parentb6c40bd5e1fa5da6a7a7b33d0302ce9661a9e289
virsh: cmdVcpuPin: Simplify handling of API flags

Rather than setting flags to -1 if none were specified, move the logic
to use the old API to the place where we need to decide. It simplifies
the logic a bit.
tools/virsh-domain.c