On a Friday in 2025, Peter Krempa via Devel wrote:
From: Peter Krempa <pkrempa(a)redhat.com>
In deployments where libvirt is containerized together with the VM it
may be hard for the management application to access listening sockets
inside the container from the outside.
This patch implements "transport='fd'" for the NBD server definition
for
backups which allows to use the existing "virDomainFDAssociate()" to
pass FD to a pre-opened server socket to qemu instead of trying to
create it by qemu.
Add schema, enable the parser, add formatter and implemet the actual
implement
passing for the qemu backup code.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/formatbackup.rst | 21 +++++++++++++++++++++
src/conf/backup_conf.c | 3 ++-
src/conf/schemas/domainbackup.rng | 6 ++++++
src/qemu/qemu_backup.c | 27 +++++++++++++++++++++++++++
4 files changed, 56 insertions(+), 1 deletion(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Spellchecked-by: Ján Tomko <jtomko(a)redhat.com>
Jano