11 Feb
2026
11 Feb
'26
3:12 p.m.
On a Thursday in 2026, Peter Krempa via Devel wrote:
From: Peter Krempa <pkrempa@redhat.com>
The monitor code uses 'bsearch' to look up the event handler so the event names must be properly listed. Until now only an comment reminded
*a comment
us to do it. Add a test to verify that it is actually sorted properly.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/qemu/qemu_monitor_json.c | 21 +++++++++++++++++++++ src/qemu/qemu_monitor_json.h | 3 +++ tests/qemumonitorjsontest.c | 18 ++++++++++++++++++ 3 files changed, 42 insertions(+)
Up to this patch: Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano