]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add helper functions for diskchain checking
authorGuannan Ren <gren@redhat.com>
Mon, 29 Jul 2013 12:51:15 +0000 (20:51 +0800)
committerGuannan Ren <gren@redhat.com>
Thu, 1 Aug 2013 05:26:27 +0000 (13:26 +0800)
commitd7b7aa2c206951bef3b1bfece656394d1775cb7d
treef2b624f1a5e9ddc4257699b1ed1872c07e088ba3
parente2ccc96cf0ea53aa6198efdfba79996c360567d7
qemu: add helper functions for diskchain checking

*src/util/virstoragefile.c: Add a helper function to get
the first name of missing backing files, if the name is NULL,
it means the diskchain is not broken.
*src/qemu/qemu_domain.c: qemuDiskChainCheckBroken(disk) to
check if its chain is broken
src/libvirt_private.syms
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/util/virstoragefile.c
src/util/virstoragefile.h