]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Pass arguments to qemuProcessEventSubmit directly
authorJiri Denemark <jdenemar@redhat.com>
Tue, 24 May 2022 10:51:47 +0000 (12:51 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 24 May 2022 14:26:04 +0000 (16:26 +0200)
commit3ccd69f8c0ebe478ab375d6f518ef33681b9727d
tree5164ab2b3a25562931054d0850e24b1b5971a2b2
parentb4662bbd1f9a94a6aa6ebda6d0ec8267d6cb7cc6
qemu: Pass arguments to qemuProcessEventSubmit directly

Allocating and filling qemuProcessEvent structure is a repeated pattern
before all calls to qemuProcessEventSubmit. We can move the allocation
inside this function and let callers pass all arguments directly.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c