qemu-e2k/monitor
Philippe Mathieu-Daudé ed7c5bb7ad monitor/qmp: Explicit we ignore few QEMUChrEvent in IOEventHandler
The Chardev events are listed in the QEMUChrEvent enum. To be
able to use this enum in the IOEventHandler typedef, we need to
explicit all the events ignored by this frontend, to silent the
following GCC warning:

    CC      monitor/qmp.o
  monitor/qmp.c: In function ‘monitor_qmp_event’:
  monitor/qmp.c:345:5: error: enumeration value ‘CHR_EVENT_BREAK’ not handled in switch [-Werror=switch]
    345 |     switch (event) {
        |     ^~~~~~
  monitor/qmp.c:345:5: error: enumeration value ‘CHR_EVENT_MUX_IN’ not handled in switch [-Werror=switch]
  monitor/qmp.c:345:5: error: enumeration value ‘CHR_EVENT_MUX_OUT’ not handled in switch [-Werror=switch]
  cc1: all warnings being treated as errors

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191218172009.8868-12-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-07 16:22:56 +01:00
..
hmp-cmds.c Block layer patches: 2019-12-20 18:25:32 +00:00
hmp.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
Makefile.objs monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
misc.c Trivial fixes (20191218) 2019-12-20 12:46:10 +00:00
monitor-internal.h Include generated QAPI headers less 2019-08-16 13:31:51 +02:00
monitor.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
qmp-cmds.c monitor/qmp-cmds: rename Error ** parameter to more common errp 2019-12-18 08:43:19 +01:00
qmp.c monitor/qmp: Explicit we ignore few QEMUChrEvent in IOEventHandler 2020-01-07 16:22:56 +01:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00