]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: also delete empty directory
authorEric Blake <eblake@redhat.com>
Wed, 21 Sep 2011 22:08:42 +0000 (16:08 -0600)
committerDaniel Veillard <veillard@redhat.com>
Thu, 22 Sep 2011 06:02:44 +0000 (14:02 +0800)
commit61dbee0efd72282322c0653a11a73323d1ca3822
tree451da0026425702c5751a016ed92d7bec4fe19bf
parente485dcc9cbe253c1282263996156f3658b4b775e
snapshot: also delete empty directory

The previous patch removed all snapshots, but not the directory
where the snapshots lived, which is still a form of stale data.

* src/qemu/qemu_domain.c (qemuDomainRemoveInactive): Wipe any
snapshot directory.
src/qemu/qemu_domain.c