mirror_qemu/hw/ipmi
Philippe Mathieu-Daudé 1d043b1ec0 hw/ipmi: Explicit we ignore some 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:

  hw/ipmi/ipmi_bmc_extern.c: In function ‘chr_event’:
  hw/ipmi/ipmi_bmc_extern.c:389:5: error: enumeration value ‘CHR_EVENT_BREAK’ not handled in switch [-Werror=switch]
    389 |     switch (event) {
        |     ^~~~~~
  hw/ipmi/ipmi_bmc_extern.c:389:5: error: enumeration value ‘CHR_EVENT_MUX_IN’ not handled in switch [-Werror=switch]
  hw/ipmi/ipmi_bmc_extern.c:389: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>
Acked-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20191218172009.8868-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-07 16:22:55 +01:00
..
Kconfig ipmi: Add an SMBus IPMI interface 2019-09-20 14:08:10 -05:00
Makefile.objs ipmi: Add an SMBus IPMI interface 2019-09-20 14:08:10 -05:00
ipmi.c ipmi: Fix watchdog NMI handling 2019-09-20 14:08:10 -05:00
ipmi_bmc_extern.c hw/ipmi: Explicit we ignore some QEMUChrEvent in IOEventHandler 2020-01-07 16:22:55 +01:00
ipmi_bmc_sim.c ipmi: Add support to customize OEM functions 2019-12-17 10:39:47 +11:00
ipmi_bt.c ipmi: Allow a size value to be passed for I/O space 2019-09-20 14:08:10 -05:00
ipmi_kcs.c ipmi: Allow a size value to be passed for I/O space 2019-09-20 14:08:10 -05:00
isa_ipmi_bt.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
isa_ipmi_kcs.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
pci_ipmi_bt.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
pci_ipmi_kcs.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
smbus_ipmi.c ipmi: Add an SMBus IPMI interface 2019-09-20 14:08:10 -05:00