hw/m68k/next-cube: Disable the default CD-ROM drive
authorThomas Huth <huth@tuxfamily.org>
Sat, 14 Dec 2024 09:17:20 +0000 (10:17 +0100)
committerThomas Huth <huth@tuxfamily.org>
Sun, 29 Dec 2024 06:13:42 +0000 (07:13 +0100)
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>
hw/m68k/next-cube.c

index 0ecdcea823dfe0b81ce621e10e06163f097a3916..94d56b4654dfe464fd5835f34d09d7601eca1208 100644 (file)
@@ -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 = {