[libvirt PATCH v5 18/32] qemu: include nbdkit state in private xml

Peter Krempa pkrempa at redhat.com
Thu Feb 16 15:06:12 UTC 2023


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 at 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 at redhat.com>


More information about the libvir-list mailing list