]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: use file cache for nbdkit caps
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 21 Jul 2022 22:34:49 +0000 (17:34 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Sep 2023 19:28:50 +0000 (14:28 -0500)
commit0c00059a7294cfdc9c52be2e56536a6eae9d1745
tree0ad1cb25ab2b455b34af60eaded3b45667f4c308
parentd0fd04556c537b22355d8d6d3c834451dda0a441
qemu: use file cache for nbdkit caps

Add the virFileCache implementation for nbdkit capabilities to the qemu
driver. This allows us to determine whether nbdkit is installed and
which plugins are supported. it also has persistent caching and the
capabilities are re-queried whenever something changes.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c