]> xenbits.xensource.com Git - libvirt.git/commit
qemuMonitorJSONQueryRxFilter: Allow @filter to be NULL
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Dec 2023 13:39:58 +0000 (14:39 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 6 Dec 2023 11:30:10 +0000 (12:30 +0100)
commitd6169ad739c1b8475f30e4575ad4d081e6cf4de3
treebfb094fe81f6a7f26d7b9c1e5224ffe7ef43d798
parentcab49d394f4dee9a780b2702590b03e837e06892
qemuMonitorJSONQueryRxFilter: Allow @filter to be NULL

Sometimes it may be handy to just issue the query-rx-filter
monitor command without actually parsing the output. Adapt
qemuMonitorJSONQueryRxFilter() to this behavior.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c