]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move some enums impl to qemu_monitor.c
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Feb 2022 14:59:18 +0000 (15:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Feb 2022 10:49:18 +0000 (11:49 +0100)
commitee5c273ec51f3b20775df63d49cd5f0c5d7615be
tree179d8abc8d343fe18dcb9f8ab7e5566f0a6dd44c
parent54814c87f3706cc8eb894634ebef0f9cf7dabae6
qemu: Move some enums impl to qemu_monitor.c

There are some enums that are declared in qemu_monitor.h but
implemented in qemu_monitor_json.c. While from compiler and
linker POV it doesn't matter, the code is cleaner if an enum is
implemented in .c file that corresponds to .h file which declared
the enum.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c