• M
    Fix blkdeviotune for shutoff domain · 5af3ce82
    Martin Kletzander 提交于
    Function qemuDomainSetBlockIoTune() was checking QEMU capabilities
    even when !(flags & VIR_DOMAIN_AFFECT_LIVE) and the domain was
    shutoff, resulting in the following problem:
    
     virsh # domstate asdf; blkdeviotune asdf vda --write-bytes-sec 100
     shut off
    
     error: Unable to change block I/O throttle
     error: unsupported configuration: block I/O throttling not supported with this QEMU binary
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=965016
    5af3ce82
qemu_driver.c 484.6 KB