History | View | Annotate | Download (11.2 kB)
s390/eventfacility: allow childs to handle more than 1 event type
Currently all handlers (quiesce, console) only handle one event type.Some drivers will handle multiple (compatible) event types. Rework thecode accordingly.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
s390/sclp: add reset() functions
Add reset() functions for event-facility, sclpconsole, and sclpquiesce.The reset() functions perform variable initializationat IPL and e.g. when monitor system_reset is called.
Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>...
s390/eventfacility: fix multiple Read Event Data sources
Make the handler for SCLP Read Event Data deal with notificationsfor multiple sources correctly.
Signed-off-by: Ralf Hoppe <rhoppe@de.ibm.com>Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
qdev: Pass size to qbus_create_inplace()
To be passed to object_initialize().
Since commit 39355c3826f5d9a2eb1ce3dc9b4cdd68893769d6 the argument isvoid*, so drop some superfluous (BusState *) casts or direct parentfield usages.
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw: include hw header files with full paths
Done with this script:
cd hwfor i in `find . -name '*.h' | sed 's/^..//'`; do echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'done | sed -i -f - `find . -type f`
This is so that paths remain valid as files are moved....
Make all static TypeInfos const
Since 39bffca2030950ef6efe57c2fac8327a45ae1015 (qdev: register alltypes natively through QEMU Object Model), TypeInfo as used inthe common, non-iterative pattern is no longer amended with informationand should therefore be const....
softmmu: move include files to include/sysemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
monitor: move include files to include/monitor/
sclp: Fix uninitialized var in handle_write_event_buf().
Some gcc versions rightly complain about a possibly unitialized rc,so let's move setting it before the QTAILQ_FOREACH().
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
s390: sclp event support
Several SCLP features are considered to be events. Those events don'tprovide SCLP commands on their own, instead they are all based onRead Event Data, Write Event Data, Write Event Mask and the serviceinterrupt. Follow-on patches will provide SCLP's Signal Quiesce (via...
s390: sclp signal quiesce support
This implements the sclp signal quiesce event via the SCLP EventFacility.This allows to gracefully shutdown a guest by using system_powerdownnotifiers. It creates a service interrupt that will trigger aRead Event Data command from the guest. This code will then add an...