qemu-e2k/monitor
Philippe Mathieu-Daudé 4904ca6a7e monitor/hmp: Explicit we ignore a 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 an event ignored by this frontend, to silent the
following GCC warning:

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

Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20191218172009.8868-13-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-07 16:22:56 +01:00
..
Makefile.objs monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
hmp-cmds.c Block layer patches: 2019-12-20 18:25:32 +00:00
hmp.c monitor/hmp: Explicit we ignore a QEMUChrEvent in IOEventHandler 2020-01-07 16:22:56 +01: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