• A
    virsh: Pass vshControl to all vshCommandOpt*() calls · be6ff4da
    Andrea Bolognani 提交于
    This will allow us to use vshError() to report errors from inside
    vshCommandOpt*(), instead of replicating the same logic and error
    messages all over the place.
    
    We also have more context inside the vshCommandOpt*() functions,
    for example the actual value used on the command line, which means
    we can produce more detailed error messages.
    
    vshCommandOptBool() is the exception here, because it's explicitly
    designed not to report any error.
    be6ff4da
virsh-volume.c 50.3 KB