summary refs log tree commit diff stats
path: root/hw/m68k/next-cube.c
diff options
context:
space:
mode:
authorThomas Huth <huth@tuxfamily.org>2024-12-14 10:17:20 +0100
committerThomas Huth <huth@tuxfamily.org>2024-12-29 07:13:42 +0100
commit36a0d3748dcaf21ab12cdfb814b8f49f2de4742b (patch)
tree0012bda44a30687069e9c004723750d86cdbf35b /hw/m68k/next-cube.c
parent17df47e87c8f71e57cb327fd720af23c39949304 (diff)
downloadfocaccia-qemu-36a0d3748dcaf21ab12cdfb814b8f49f2de4742b.tar.gz
focaccia-qemu-36a0d3748dcaf21ab12cdfb814b8f49f2de4742b.zip
hw/m68k/next-cube: Disable the default CD-ROM drive
The NeXT-Cube does not have a CD-ROM drive by default, and the
kernel does not seem to deal with the empty drive very well, so
let's disable the CD-ROM drive for this machine.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20241214091720.49779-1-huth@tuxfamily.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
-rw-r--r--hw/m68k/next-cube.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 0ecdcea823..94d56b4654 100644
--- a/hw/m68k/next-cube.c
+++ b/hw/m68k/next-cube.c
@@ -1067,6 +1067,7 @@ static void next_machine_class_init(ObjectClass *oc, void *data)
     mc->default_ram_size = RAM_SIZE;
     mc->default_ram_id = "next.ram";
     mc->default_cpu_type = M68K_CPU_TYPE_NAME("m68040");
+    mc->no_cdrom = true;
 }
 
 static const TypeInfo next_typeinfo = {