summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-05-06 08:21:46 +0200
committerThomas Huth <thuth@redhat.com>2025-05-14 06:57:07 +0200
commitbbe6f504ef181f3745762818249bbf7ca44bf363 (patch)
tree968eef22fe1b9cbe34a8d69dba24cbf8aa2a5a81 /include
parent240e7c36e75767ef102bd2c532947800aa0030d6 (diff)
downloadfocaccia-qemu-bbe6f504ef181f3745762818249bbf7ca44bf363.tar.gz
focaccia-qemu-bbe6f504ef181f3745762818249bbf7ca44bf363.zip
hw/s390x: Remove the obsolete hpage_1m_allowed switch
The s390-ccw-virtio-3.0 machine was the last one that used the
hpage_1m_allowed switch. Since we removed this machine type, we
can now remove the switch and the related code, too. This allows
us to get rid of the get_machine_class() hack and the big fat
warning comment there.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250506062148.306084-8-thuth@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/s390x/s390-virtio-ccw.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/s390x/s390-virtio-ccw.h b/include/hw/s390x/s390-virtio-ccw.h
index 686d9497d2..321b26df30 100644
--- a/include/hw/s390x/s390-virtio-ccw.h
+++ b/include/hw/s390x/s390-virtio-ccw.h
@@ -53,11 +53,7 @@ struct S390CcwMachineClass {
     MachineClass parent_class;
 
     /*< public >*/
-    bool hpage_1m_allowed;
     int max_threads;
 };
 
-/* 1M huge page mappings allowed by the machine */
-bool hpage_1m_allowed(void);
-
 #endif