Currently, common base layers virtual css bridge and bus are defined in hw/s390x/virtio-ccw.c(h). In order to support multiple types of devices in the virtual channel subsystem, especially non virtio-ccw, refactoring work needs to be done. This work is just a pure code move without any functional change except dropping an empty function virtual_css_bridge_init() and virtio_ccw_busdev_unplug() changing. virtio_ccw_busdev_unplug() is specific to virtio-ccw but gets referenced from the common virtual css bridge code. To keep the functional changes to a minimum we export this function from virtio-ccw.c and continue to reference it inside virtual_css_bridge_class_init() (now living in hw/s390x/css-bridge.c). A follow-up patch will clean this up. Signed-off-by: Jing Liu <liujbjl@linux.vnet.ibm.com> Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
15 lines
337 B
Makefile
15 lines
337 B
Makefile
obj-y += s390-virtio.o
|
|
obj-y += s390-virtio-hcall.o
|
|
obj-y += sclp.o
|
|
obj-y += event-facility.o
|
|
obj-y += sclpquiesce.o
|
|
obj-y += sclpcpu.o
|
|
obj-y += ipl.o
|
|
obj-y += css.o
|
|
obj-y += s390-virtio-ccw.o
|
|
obj-y += virtio-ccw.o
|
|
obj-y += css-bridge.o
|
|
obj-y += s390-pci-bus.o s390-pci-inst.o
|
|
obj-y += s390-skeys.o
|
|
obj-$(CONFIG_KVM) += s390-skeys-kvm.o
|