]> git.proxmox.com Git - mirror_qemu.git/commit
chardev: use QEMUChrEvent instead of int
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 10:14:29 +0000 (11:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 10:14:49 +0000 (11:14 +0100)
commit2fa9044a4fe8c6c9c215785d1abce4db6063a6f9
tree09817014d7f69a7b7b8b06ad3e6eaaebe0a7f74f
parent71f8d3b0e669b093309b435fda125ce7dcdcd19d
chardev: use QEMUChrEvent instead of int

This uses the QEMUChrEvent enum everywhere except in IOEventHandler.
The IOEventHandler change needs to happen at once for all front ends and
is done with Coccinelle in the next patch.

(Extracted from a patch by Philippe Mathieu-Daudé).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
chardev/char-mux.c
chardev/char.c
include/chardev/char-mux.h
include/chardev/char.h