hw/s390/Makefile.objs: Create new CONFIG_* variables for s390x boards and devices
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Feb 2019 07:24:42 +0000 (15:24 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:20 +0000 (16:50 +0100)
Make hw/s390x configurable and add new CONFIG_* to the
default-configs/s390x*-softmmu.mak. This will be used to
enable/disable vfio-ccw.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190202072456.6468-14-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/s390x-softmmu.mak
hw/s390x/Makefile.objs

index 5eef375924518464d1a883be750798e0e0cdd155..8bb7e438c87e85d53c1d5ac8ab6df1ee04ea77ff 100644 (file)
@@ -8,3 +8,4 @@ CONFIG_S390_FLIC_KVM=$(CONFIG_KVM)
 CONFIG_VFIO_CCW=$(CONFIG_LINUX)
 CONFIG_WDT_DIAG288=y
 CONFIG_VFIO_AP=$(CONFIG_LINUX)
+CONFIG_S390_CCW_VIRTIO=y
index ca68806e4418b31c680e6bc91a3c9013e99faf44..a18c4719137ee740789063b4a1e8a50da2de30f3 100644 (file)
@@ -5,7 +5,7 @@ obj-y += sclpquiesce.o
 obj-y += sclpcpu.o
 obj-y += ipl.o
 obj-y += css.o
-obj-y += s390-virtio-ccw.o
+obj-$(CONFIG_S390_CCW_VIRTIO) += s390-virtio-ccw.o
 obj-y += 3270-ccw.o
 obj-y += virtio-ccw.o
 obj-$(CONFIG_VIRTIO_SERIAL) += virtio-ccw-serial.o