• E
    storage: match RNG to supported driver types · e2c41e48
    Eric Blake 提交于
    At one point, the code passed through arbitrary strings for file
    formats, which supposedly lets qemu handle a new file type even
    before libvirt has been taught to handle it.  However, to properly
    label files, libvirt has to learn the file type anyway, so we
    might as well make our life easier by only accepting file types
    that we are prepared to handle.  This patch lets the RNG validation
    ensure that only known strings are let through.
    
    * docs/schemas/domaincommon.rng (driverFormat): Limit to list of
    supported strings.
    * docs/schemas/domainsnapshot.rng (driver): Likewise.
    e2c41e48
domainsnapshot.rng 3.2 KB