qemu-irix/include/hw
Daniel Henrique Barboza bff3063837 hw/ppc/spapr_events.c: removing 'exception' from sPAPREventLogEntry
Currenty we do not have any RTAS event that is reported by the
event-scan interface. The existing events, RTAS_LOG_TYPE_EPOW and
RTAS_LOG_TYPE_HOTPLUG, are being reported by the check-exception
interface and, as such, marked as 'exception=true'.

Commit 79853e18d9, 'spapr_events: event-scan RTAS interface', added
the event_scan interface because the guest kernel requires it to
initialize other required interfaces. It is acting since then as
a stub because no events that would be reported by it were added
since then. However, the existence of the 'exception' boolean adds
an unnecessary load in the future migration of the pending_events,
sPAPREventLogEntry QTAILQ that hosts the pending RTAS events.

To make the code cleaner and ease the future migration changes, this
patch makes the following changes:

- remove the 'exception' boolean that filter these events. There is
nothing to filter since all events are reported by check-exception;

- functions rtas_event_log_queue, rtas_event_log_dequeue and
rtas_event_log_contains don't receive the 'exception' boolean
as parameter;

- event_scan function was simplified. It was calling
'rtas_event_log_dequeue(mask, false)' that was always returning
'NULL' because we have no events that are created with
exception=false, thus in the end it would execute a jump to
'out_no_events' all the time. The function now assumes that
this will always be the case and all the remaining logic were
deleted.

In the future, when or if we add new RTAS events that should
be reported with the event_scan interface, we can refer to
the changes made in this patch to add the event_scan logic
back.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-05-24 11:39:53 +10:00
..
acpi pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
adc
arm aspeed: add a FTGMAC100 nic 2017-04-25 19:17:25 +08:00
audio audio: Rename hw/audio/audio.h to hw/audio/soundhw.h 2017-05-19 10:48:54 +02:00
block hw/block: Introduce share-rw qdev property 2017-02-28 20:40:36 +01:00
char
core
cpu
cris
display
dma
gpio bcm2835_gpio: add bcm2835 gpio controller 2017-02-28 17:10:00 +00:00
i2c
i386 pc: add 2.10 machine type 2017-05-10 22:04:23 +03:00
ide ide: core: add cleanup function 2017-03-15 20:50:14 -04:00
input
intc hw/intc/arm_gicv3_kvm: Add ICC_SRE_EL1 register to vmstate 2017-02-28 17:10:00 +00:00
ipack
ipmi ipmi: introduce an ipmi_bmc_gen_event() API 2017-04-26 12:41:55 +10:00
isa
kvm
lm32
m68k
mem
mips
misc
net net/ftgmac100: add a 'aspeed' property 2017-04-25 19:17:25 +08:00
nvram
pci pci: Reduce scope of error injection 2017-05-08 20:32:14 +02:00
pci-host pseries: Don't expose PCIe extended config space on older machine types 2017-03-14 11:54:17 +11:00
ppc hw/ppc/spapr_events.c: removing 'exception' from sPAPREventLogEntry 2017-05-24 11:39:53 +10:00
s390x Basic support for using channel-attached 3270 'green-screen' 2017-05-05 16:56:38 +01:00
scsi
sd hw/sd: add card-reparenting function 2017-02-28 17:10:00 +00:00
sh4
smbios
sparc
ssi
timer armv7m: Split systick out from NVIC 2017-02-28 16:18:49 +00:00
tricore
unicore32
usb
vfio
virtio virtio-gpu: move virtio_gpu_gl_block 2017-05-12 12:02:48 +02:00
watchdog
xen xen/9pfs: build and register Xen 9pfs backend 2017-04-25 11:04:33 -07:00
boards.h machine: call machine init from wrapper 2017-05-11 16:08:50 -03:00
bt.h
compat.h Revert "hw/pci: disable pci-bridge's shpc by default" 2017-05-18 00:35:15 +03:00
devices.h sm501: QOMify 2017-04-24 12:32:12 +01:00
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h migration: Remove qemu-file.h from vmstate.h 2017-05-18 19:20:59 +02:00
ide.h
irq.h
loader-fit.h
loader.h
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h tests: fix ptimer leaks 2017-03-01 00:09:28 +04:00
qdev-core.h qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
qdev-dma.h
qdev-properties.h qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
qdev.h
register.h
registerfields.h
stream.h
sysbus.h
usb.h