qemu-e2k/hw/s390x
Cornelia Huck 9b3a35ec82 virtio: verify that legacy support is not accidentally on
If a virtio device does not have legacy support, make sure that
it is actually off, and bail out if not.

For virtio-pci, this means that any device without legacy support
that has been specified to modern-only (or that has been forced
to it) will work.

For virtio-ccw, this duplicates the check that is currently done
prior to realization for any device that explicitly specified no
support for legacy.

This catches devices that have not been fenced properly.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200707105446.677966-3-cohuck@redhat.com>
Cc: qemu-stable@nongnu.org
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-07-22 07:57:07 -04:00
..
3270-ccw.c
ap-bridge.c qdev: Drop qbus_set_hotplug_handler() parameter @errp 2020-07-02 06:25:29 +02:00
ap-device.c
ccw-device.c
ccw-device.h
css-bridge.c qdev: Drop qbus_set_hotplug_handler() parameter @errp 2020-07-02 06:25:29 +02:00
css.c error: Eliminate error_propagate() with Coccinelle, part 1 2020-07-10 15:18:08 +02:00
event-facility.c error: Eliminate error_propagate() with Coccinelle, part 1 2020-07-10 15:18:08 +02:00
ipl.c error: Avoid unnecessary error_propagate() after error_setg() 2020-07-10 15:18:08 +02:00
ipl.h
Kconfig
Makefile.objs
pv.c
s390-ccw.c
s390-pci-bus.c error: Eliminate error_propagate() manually 2020-07-10 15:18:08 +02:00
s390-pci-bus.h
s390-pci-inst.c
s390-pci-inst.h
s390-skeys-kvm.c
s390-skeys.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
s390-stattrib-kvm.c
s390-stattrib.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
s390-virtio-ccw.c error: Eliminate error_propagate() manually 2020-07-10 15:18:08 +02:00
s390-virtio-hcall.c
s390-virtio-hcall.h
sclp.c error: Eliminate error_propagate() manually 2020-07-10 15:18:08 +02:00
sclpcpu.c
sclpquiesce.c
tod-kvm.c
tod-qemu.c
tod.c
trace-events
vhost-vsock-ccw.c
virtio-ccw-9p.c
virtio-ccw-balloon.c
virtio-ccw-blk.c
virtio-ccw-crypto.c virtio: Drop broken and superfluous object_property_set_link() 2020-07-22 07:57:07 -04:00
virtio-ccw-gpu.c
virtio-ccw-input.c
virtio-ccw-net.c
virtio-ccw-rng.c virtio: Drop broken and superfluous object_property_set_link() 2020-07-22 07:57:07 -04:00
virtio-ccw-scsi.c
virtio-ccw-serial.c
virtio-ccw.c virtio: verify that legacy support is not accidentally on 2020-07-22 07:57:07 -04:00
virtio-ccw.h