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

Ján Tomko jtomko at redhat.com
Wed May 11 09:31:09 UTC 2022


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

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220511/3c94ffc9/attachment.sig>


More information about the libvir-list mailing list