• E
    snapshot: fix logic bug in qemu undefine · e6966fa7
    Eric Blake 提交于
    Commit 19f8c980 introduced VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA,
    with the intent that omitting the flag makes undefine fail, and
    including the flag deletes metadata.  But it used the wrong logic.
    Also, hoist the transient domain sooner, so that we don't
    accidentally remove metadata of a transient domain.
    
    * src/qemu/qemu_driver.c (qemuDomainUndefineFlags): Check correct
    flag value.
    e6966fa7
qemu_driver.c 336.0 KB