On Tue, Feb 14, 2023 at 11:08:05 -0600, Jonathon Jongsma wrote:
Add xml to the private data for a disk source to represent the
nbdkit
process so that the state can be re-created if the libvirt daemon is
restarted. Format:
<nbdkit>
<pidfile>/path/to/nbdkit.pid</pidfile>
<socketfile>/path/to/nbdkit.socket</socketfile>
</nbdkit>
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
src/qemu/qemu_domain.c | 52 +++++++++++++++++
src/qemu/qemu_nbdkit.c | 71 +++++++++++++++++++++++
src/qemu/qemu_nbdkit.h | 8 +++
src/qemu/qemu_process.c | 6 ++
tests/qemustatusxml2xmldata/modern-in.xml | 4 ++
5 files changed, 141 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>