9e5c2056d1
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>
32 lines
409 B
Plaintext
32 lines
409 B
Plaintext
config VIRTIO
|
|
bool
|
|
|
|
config VIRTIO_RNG
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
|
|
config VIRTIO_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select VIRTIO
|
|
|
|
config VIRTIO_MMIO
|
|
bool
|
|
select VIRTIO
|
|
|
|
config VIRTIO_CCW
|
|
bool
|
|
select VIRTIO
|
|
|
|
config VIRTIO_BALLOON
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
|
|
config VIRTIO_CRYPTO
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|