qemu/hw/s390x
Cornelia Huck 0cd09c3a6c virtio: feature bit manipulation helpers
Add virtio_{add,clear}_feature helper functions for manipulating a
feature bits variable. This has some benefits over open coding:
- add check that the bit is in a sane range
- make it obvious at a glance what is going on
- have a central point to change when we want to extend feature bits

Convert existing code manipulating features to use the new helpers.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-02-26 13:04:07 +01:00
..
css.c s390x/ioinst: Rework memory access in STCRW instruction 2015-02-18 09:37:15 +01:00
css.h s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
event-facility.c s390x: Drop not used allow_hotplug in event-facility 2014-10-15 05:03:13 +02:00
ipl.c s390x/ipl: make s390x ipl device aware of migration 2015-02-13 16:14:09 +01: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 s390x/pci: check for invalid function handle 2015-02-03 13:42:40 +01:00
s390-pci-bus.h s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
s390-pci-inst.c s390x/pci: Rework memory access in zpci instruction 2015-02-18 09:37:15 +01:00
s390-pci-inst.h s390: implement pci instructions 2015-01-12 10:14:04 +01:00
s390-virtio-bus.c virtio: link the rng backend through an alias property 2014-10-30 12:59:27 +00:00
s390-virtio-bus.h s390: use standard headers 2015-02-26 13:04:06 +01:00
s390-virtio-ccw.c s390x/ipl: always load the bios for ccw machine 2015-02-13 16:14:09 +01:00
s390-virtio-hcall.c s390x/virtio-hcall: Specification exception for illegal subcodes 2014-02-27 09:51:25 +01:00
s390-virtio.c s390x/ipl: support diagnose 308 subcodes 5 and 6 2015-02-13 16:14:09 +01:00
s390-virtio.h s390: use standard headers 2015-02-26 13:04:06 +01:00
sclp.c s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
sclpcpu.c s390x/cpu hotplug: Fix memory leak 2014-03-17 22:01:19 +01:00
sclpquiesce.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
virtio-ccw.c virtio: feature bit manipulation helpers 2015-02-26 13:04:07 +01:00
virtio-ccw.h virtio-blk: use aliases instead of duplicate qdev properties 2014-07-01 09:15:02 +02:00