• E
    snapshot: support new undefine flags in qemu · 19f8c980
    Eric Blake 提交于
    A nice benefit of deleting all snapshots at undefine time is that
    you don't have to do any reparenting or subtree identification - since
    everything goes, this is an O(n) process, whereas using multiple
    virDomainSnapshotDelete calls would be O(n^2) or worse.  But it is
    only doable for snapshot metadata, where we are in control of the
    data being deleted; for the actual snapshots, there's too much
    likelihood of something going wrong, and requiring even more API
    calls to figure out what failed in the meantime, so callers are
    better off deleting the snapshot data themselves one snapshot at
    a time where they can deal with failures as they happen.
    
    * src/qemu/qemu_driver.c (qemuDomainUndefineFlags): Honor new flags.
    19f8c980
qemu_driver.c 309.1 KB