]> xenbits.xensource.com Git - libvirt.git/commit
storage: Implement 'checkPool' method for 'disk' type pools
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jan 2022 10:46:51 +0000 (11:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jan 2022 13:23:56 +0000 (14:23 +0100)
commit9911a6f2ff888a53cc27bdca10efe31fd371dfb8
treec7b54fc181a1125c3956f3323dc6cd8f74d404b6
parent23b0d6a0ff9d9d3eb0f1ba32c1262acf66122470
storage: Implement 'checkPool' method for 'disk' type pools

If 'checkPool' is not implemented, the pool will be made inactive when
restarting libvirtd and subsequently re-loading the state from the pool
state XML.

Base the 'checkPool' implementation on logic similar to 'startPool'.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1910856
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage/storage_backend_disk.c