qemu-patch-raspberry4/hw/s390x
Thomas Huth c42767f2bb s390x/virtio-ccw: add virtio set-revision call
Handle the virtio-ccw revision according to what the guest sets.
When revision 1 is selected, we have a virtio-1 standard device
with byteswapping for the virtio rings.

When a channel gets disabled, we have to revert to the legacy behavior
in case the next user of the device does not negotiate the revision 1
anymore (e.g. the boot firmware uses revision 1, but the operating
system only uses the legacy mode).

Note that revisions > 0 are still disabled.

[CH: assure memory accesses are always BE]
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
2015-07-02 15:35:15 +02:00
..
css.c s390x/css: Add a callback for when subchannel gets disabled 2015-06-30 09:34:58 +02:00
css.h s390x/css: Add a callback for when subchannel gets disabled 2015-06-30 09:34:58 +02:00
event-facility.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
ipl.c s390x/ipl: sort into categories 2015-04-30 13:21:42 +02:00
ipl.h s390x/ipl: drop reipl parameters on resets 2015-02-13 16:14:09 +01:00
Makefile.objs s390: implement pci instructions 2015-01-12 10:14:04 +01:00
s390-pci-bus.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
s390-pci-bus.h s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
s390-pci-inst.c s390x/kvm: Support access register mode for KVM_S390_MEM_OP ioctl 2015-04-30 13:21:42 +02:00
s390-pci-inst.h s390x/kvm: Support access register mode for KVM_S390_MEM_OP ioctl 2015-04-30 13:21:42 +02:00
s390-virtio-bus.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
s390-virtio-bus.h virtio: move host_features 2015-05-31 16:27:18 +02:00
s390-virtio-ccw.c s390x: Switch to s390-ccw machine as default 2015-06-17 12:40:52 +02:00
s390-virtio-hcall.c s390x/virtio-hcall: Specification exception for illegal subcodes 2014-02-27 09:51:25 +01:00
s390-virtio.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
s390-virtio.h s390: use standard headers 2015-02-26 13:04:06 +01:00
sclp.c sclp: sort into categories 2015-04-30 13:21:41 +02:00
sclpcpu.c sclp: sort into categories 2015-04-30 13:21:41 +02:00
sclpquiesce.c sclp: sort into categories 2015-04-30 13:21:41 +02:00
virtio-ccw.c s390x/virtio-ccw: add virtio set-revision call 2015-07-02 15:35:15 +02:00
virtio-ccw.h s390x/virtio-ccw: add virtio set-revision call 2015-07-02 15:35:15 +02:00