• P
    util: Replace virDomainDiskSourceIsBlockType with a new helper · 3ec7bb35
    Peter Krempa 提交于
    For disks sources described by a libvirt volume we don't need to do a
    complicated check since virStorageTranslateDiskSourcePool already
    correctly determines the actual disk type.
    
    Replace the checks using a new accessor that does not open-code the
    whole logic.
    3ec7bb35
virstoragefile.c 79.0 KB