]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/Kconfig
s390x: express dependencies with Kconfig
authorThomas Huth <thuth@redhat.com>
Tue, 29 Jan 2019 09:42:14 +0000 (10:42 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 20:46:19 +0000 (21:46 +0100)
commit9e5c2056d1e80f344a0c412d7a3d847db1f4e034
tree742083223d3e522a6fb7b5939fe8c6d35a3f8e3e
parent82a230d5a3031d19ca522f52251046ba30242828
s390x: express dependencies with Kconfig

Instead of hard-coding all config switches in the config file
default-configs/s390x-softmmu.mak, let's use the new Kconfig files
to express the necessary dependencies: The S390_CCW_VIRTIO config switch
for the "s390-ccw-virtio" machine now selects all non-optional devices.

And since we already have the VIRTIO_PCI and VIRTIO_MMIO config switches
for the other two virtio transports, this patch also introduces a new
config switch VIRTIO_CCW for the third, s390x-specific virtio transport,
so that all three virtio transports are now handled in the same way.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/s390x-softmmu.mak
hw/s390x/Kconfig
hw/s390x/Makefile.objs
hw/virtio/Kconfig