]> xenbits.xensource.com Git - qemu-xen.git/commit
monitor: remove MonitorDef from typedefs.h
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 May 2024 15:09:39 +0000 (17:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 May 2024 13:47:48 +0000 (15:47 +0200)
commitf37c6c2e89d3b8d3376ddc74b5357e56f49ccb9c
tree03cd02d855cdd08cfe118ae9dc285121aca29abc
parenta0d645100eba45a96f009528ec0fec14b4b35956
monitor: remove MonitorDef from typedefs.h

MonitorDef is defined by hmp-target.h, and all users except one already
include it; the reason why the stubs do not include it, is because
hmp-target.h currently can only be used in files that are compiled
per target.  However, that is easily fixed.  Because the benefit of
having MonitorDef in typedefs.h is very small, do it and remove the
type from typedefs.h.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/monitor/hmp-target.h
include/qemu/typedefs.h
stubs/target-monitor-defs.c