hw/mips: Remove the 'r4k' machine
PATCH v2 1/1 hw/mips: Remove the 'r4k' machine
We deprecated the support for the 'r4k' machine for the 5.0 release (commit d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.
To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years ago
Users are recommended to use the Malta board instead.
---
v2: Fixed Header underline length (Richard)
--- docs/system/deprecated.rst | 4 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 2 insertions(+), 341 deletions(-) delete mode 100644 hw/mips/r4k.c
docs/system/deprecated.rst +2 -2
@@ -327,8 +327,8 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or System emulator machines ------------------------ -mips ``r4k`` platform (since 5.0) -''''''''''''''''''''''''''''''''' +mips ``r4k`` platform (removed in 5.2) +'''''''''''''''''''''''''''''''''''''' This machine type is very old and unmaintained. Users should use the ``malta`` machine type instead.
default-configs/devices/mips-softmmu-common.mak +0 -1
@@ -33,7 +33,6 @@ CONFIG_MC146818RTC=y CONFIG_EMPTY_SLOT=y CONFIG_MIPS_CPS=y CONFIG_MIPS_ITU=y -CONFIG_R4K=y CONFIG_MALTA=y CONFIG_PCNET_PCI=y CONFIG_MIPSSIM=y
hw/mips/r4k.c deleted +0 -318
318 lines not on this page · raw message
MAINTAINERS +0 -6
@@ -1138,12 +1138,6 @@ S: Orphaned F: hw/mips/mipssim.c F: hw/net/mipsnet.c -R4000 -R: Aurelien Jarno <[email protected]> -R: Aleksandar Rikalo <[email protected]> -S: Obsolete -F: hw/mips/r4k.c - Fuloong 2E M: Huacai Chen <[email protected]> M: Philippe Mathieu-Daudé <[email protected]>
hw/mips/Kconfig +0 -13
@@ -1,16 +1,3 @@ -config R4K - bool - select ISA_BUS - select SERIAL_ISA - select I8259 - select I8254 - select MC146818RTC - imply VGA_ISA - imply NE2000_ISA - select IDE_ISA - select PCKBD - select PFLASH_CFI01 - config MALTA bool select ISA_SUPERIO
hw/mips/meson.build +0 -1
@@ -6,6 +6,5 @@ mips_ss.add(when: 'CONFIG_MIPSSIM', if_true: files('mipssim.c')) mips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: [files('boston.c'), fdt]) mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c')) -mips_ss.add(when: 'CONFIG_R4K', if_true: files('r4k.c')) hw_arch += {'mips': mips_ss}
Signature · 1 line
2.26.2
Quoted 29 lines · Philippe Mathieu-Daudé
We deprecated the support for the 'r4k' machine for the 5.0 release (commit
d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years agoUsers are recommended to use the Malta board instead.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
v2: Fixed Header underline length (Richard)--- docs/system/deprecated.rst | 4 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 2 insertions(+), 341 deletions(-) delete mode 100644 hw/mips/r4k.cdocs/system/deprecated.rst +0
-0
docs/system/deprecated.rst The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or · line 334
Quoted 10 lines
docs/system/deprecated.rst +2
-2@@ -327,8 +327,8 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or System emulator machines ------------------------ -mips ``r4k`` platform (since 5.0) -''''''''''''''''''''''''''''''''' +mips ``r4k`` platform (removed in 5.2) +'''''''''''''''''''''''''''''''''''''' This machine type is very old and unmaintained. Users should use the ``malta`` machine type instead.
This is incorrect, I have to move it from "Deprecated features" to "Recently removed features" section.