]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Don't leave stale state file if pool startup fails
authorCole Robinson <crobinso@redhat.com>
Mon, 27 Apr 2015 14:43:22 +0000 (10:43 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 13:37:57 +0000 (09:37 -0400)
commitc180a3dcf7c3f5ae640629b1b14f89357d6a4547
tree69dc8a2dc6d20d5cbe98813c1f86787f174f4666
parentb29aff322f517ae5c9d3b032e5bd1cad3b2dd8b7
storage: Don't leave stale state file if pool startup fails

After pool startup we call refreshPool(). If that fails, we leave
a stale pool state file hanging around.

Hit this trying to create a pool with qemu:///session containing
root owned files.
src/storage/storage_driver.c