summary refs log tree commit diff stats
path: root/scripts/qapi-event.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-05-29 14:06:39 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-09-07 16:10:44 +0200
commitb02ef3d92b19ad304a84433d3817f0903296ebc7 (patch)
treed24d8fec7111517185b0902f4405d3dc650a9319 /scripts/qapi-event.py
parent2998ffee245e3a141ce1b6fca127744c3e19dc63 (diff)
downloadfocaccia-qemu-b02ef3d92b19ad304a84433d3817f0903296ebc7.tar.gz
focaccia-qemu-b02ef3d92b19ad304a84433d3817f0903296ebc7.zip
s390/sclp: ignore memory hotplug operations if it is disabled
If no memory hotplug device was created, the sclp command facility is
not exposed (SCLP_FC_ASSIGN_ATTACH_READ_STOR). We therefore have no
memory hotplug and should correctly report SCLP_RC_INVALID_SCLP_COMMAND
if any such command is executed.

This gets rid of these ugly asserts that could have been triggered
for the s390-virtio machine.

Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'scripts/qapi-event.py')
0 files changed, 0 insertions, 0 deletions