]> xenbits.xensource.com Git - libvirt.git/commit
storage: forbid rebuilding existing disk storage pools
authorGuido Günther <agx@sigxcpu.org>
Sat, 12 Nov 2011 12:31:52 +0000 (13:31 +0100)
committerGuido Günther <agx@sigxcpu.org>
Mon, 14 Nov 2011 17:19:40 +0000 (18:19 +0100)
commitafa1029adabe499a8706b50bee9f1f522d945969
tree40f779621c7630ac3acbd66051c376413e1b7d99
parent342c09578a59ab1775a4a2fc3252ec99e8f26ea9
storage: forbid rebuilding existing disk storage pools

which would blow away all volumes. Honor VIR_STORAGE_POOL_BUILD_OVERWRITE
to force a rebuild.

This was caught by libvirt-tck's storage/110-disk-pool.t.
src/storage/storage_backend_disk.c