• P
    util: storage: Fix check for empty storage device · 158340e2
    Peter Krempa 提交于
    If the storage device type is parsed as network our parser still allows
    it to omit the <source> element. The empty drive check would not trigger
    on such device as it expects that every network storage source is valid.
    
    Use VIR_STORAGE_NET_PROTOCOL_NONE as a marker that the storage source is
    empty.
    158340e2
virstoragefile.c 76.5 KB