[libvirt] [PATCHv2] conf: remove NULL check from virDomainQemuMonitorEventNew
Michal Privoznik
mprivozn at redhat.com
Fri Nov 15 13:40:08 UTC 2019
On 11/12/19 6:04 PM, Ján Tomko wrote:
> The qemu_domain_monitor_event_msg struct in qemu_protocol.x
> defines event as a nonnull_string and qemuMonitorJSONIOProcessEvent
> also errors out on a non-NULL event.
>
> Drop the check completely.
>
> This essentially reverts commit d343e8203d248635f5e7a0d86dd077f74d49e3af
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/conf/domain_event.c | 12 ------------
> src/conf/domain_event.h | 2 +-
> 2 files changed, 1 insertion(+), 13 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list