Re: [PATCH 07/37] qemu: domain: Store and update 'fdsetindex' across libvirtd restarts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Tuesday in 2022, Peter Krempa wrote:
While 'add-fd' qmp command gives the possibility to find an unused fdset
ID when hot-adding fdsets, such usage is extremely inconvenient.

This patch allows us to track the used fdset id so that we can avoid the
need to check results and thus employ simpler code flow when hot-adding
devices which use FD passing.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/qemu/qemu_domain.c                        |  5 +++
src/qemu/qemu_domain.h                        |  3 +-
src/qemu/qemu_process.c                       | 31 +++++++++++++++++++
.../qemustatusxml2xmldata/backup-pull-in.xml  |  1 +
.../blockjob-blockdev-in.xml                  |  1 +
.../blockjob-mirror-in.xml                    |  1 +
.../migration-in-params-in.xml                |  1 +
.../migration-out-nbd-bitmaps-in.xml          |  1 +
.../migration-out-nbd-out.xml                 |  1 +
.../migration-out-nbd-tls-out.xml             |  1 +
.../migration-out-params-in.xml               |  1 +
tests/qemustatusxml2xmldata/modern-in.xml     |  1 +
tests/qemustatusxml2xmldata/upgrade-out.xml   |  1 +
.../qemustatusxml2xmldata/vcpus-multi-in.xml  |  1 +
14 files changed, 49 insertions(+), 1 deletion(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux