]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: remove custom error for cpulist from cmdIOThreadPin
authorJán Tomko <jtomko@redhat.com>
Thu, 3 Dec 2015 12:44:43 +0000 (13:44 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 3 Dec 2015 12:58:52 +0000 (13:58 +0100)
commitb15e26f9395407bc779bc18c5d74f3ed97673ad2
tree0e6cd9d3c1aa2848d7f62e8f76a3397391fbcac7
parent45138725cf2a14575aa5204fe55efd6668b9b03a
virsh: remove custom error for cpulist from cmdIOThreadPin

Instead of the custom error:
error: iothreadpin: invalid cpulist.

use vshCommandOptStringReq and let it report a more specific error:
error: Failed to get option 'cpulist': Option argument is empty
tools/virsh-domain.c