On a Tuesday in 2022, Peter Krempa wrote:
If we use our own fdset ID when hot-adding a fdset we can vastly
simplify our internals.
As a stop-gap when a fdset would be added behind libvirt's back we'll
validated that the fdset to be added is not yet used.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_fd.c | 61 +++++++++++++++----------------------
src/qemu/qemu_fd.h | 3 --
tests/qemuhotplugtest.c | 1 +
tests/qemumonitorjsontest.c | 7 -----
4 files changed, 25 insertions(+), 47 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano