144947c qemu: Introduce qemuDomainSetBlockIoTuneDefaults

Authored and Committed by John Ferlan 7 years ago
    qemu: Introduce qemuDomainSetBlockIoTuneDefaults
    
    Create a helper to set the bytes/iops iotune default values based on
    the current qemu setting for both the live and persistent definitions.
    NB: This also fixes an unreported bug where the persistent values for
    *_max and size_iops_sec would be set back to 0 if unrelated persistent
    values were set.
    
        
file modified
+36 -38