aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/meson.build
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-12-19 15:41:03 +0100
committerDavid Hildenbrand <david@redhat.com>2024-12-21 15:59:59 +0100
commit4be0fce498d0a08f18b3a9accdb9ded79484d30a (patch)
tree6d90786a10617109bac73803a326a5885da88619 /hw/s390x/meson.build
parent14e568ab4836347481af2e334009c385f456a734 (diff)
downloadqemu-4be0fce498d0a08f18b3a9accdb9ded79484d30a.zip
qemu-4be0fce498d0a08f18b3a9accdb9ded79484d30a.tar.gz
qemu-4be0fce498d0a08f18b3a9accdb9ded79484d30a.tar.bz2
s390x/s390-virtio-hcall: remove hypercall registration mechanism
Nowadays, we only have a single machine type in QEMU, everything is based on virtio-ccw and the traditional virtio machine does no longer exist. No need to dynamically register diag500 handlers. Move the two existing handlers into s390-virtio-hcall.c. Message-ID: <20241219144115.2820241-3-david@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'hw/s390x/meson.build')
-rw-r--r--hw/s390x/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/s390x/meson.build b/hw/s390x/meson.build
index 482fd13..d6c8c33 100644
--- a/hw/s390x/meson.build
+++ b/hw/s390x/meson.build
@@ -12,7 +12,6 @@ s390x_ss.add(files(
's390-pci-inst.c',
's390-skeys.c',
's390-stattrib.c',
- 's390-virtio-hcall.c',
'sclp.c',
'sclpcpu.c',
'sclpquiesce.c',
@@ -28,7 +27,10 @@ s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
s390x_ss.add(when: 'CONFIG_TCG', if_true: files(
'tod-tcg.c',
))
-s390x_ss.add(when: 'CONFIG_S390_CCW_VIRTIO', if_true: files('s390-virtio-ccw.c'))
+s390x_ss.add(when: 'CONFIG_S390_CCW_VIRTIO', if_true: files(
+ 's390-virtio-ccw.c',
+ 's390-virtio-hcall.c',
+))
s390x_ss.add(when: 'CONFIG_TERMINAL3270', if_true: files('3270-ccw.c'))
s390x_ss.add(when: 'CONFIG_VFIO', if_true: files('s390-pci-vfio.c'))