<br><br>On Monday, November 25, 2019, Philippe Mathieu-Daudé <<a href="mailto:philmd@redhat.com">philmd@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The r4k machine was introduced in 2005 (6af0bf9c7) and its last<br>
logical change was in 2005 (9542611a6). After we can count 164<br>
maintenance commits (QEMU API changes) with the exception of<br>
1 fix in 2015 (memory leak, commit 3ad9fd5a).<br>
<br></blockquote><div><br></div><div>Please don't start any deprecation process. This requires certain consultation within my company. Rest assured that everyone's opinion will be taken into account while doing consiltation.</div><div><br></div><div>Aleksandar</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This machine was introduced as a proof of concept to run a MIPS<br>
CPU. 2 years later, the Malta machine was add (commit 5856de80)<br>
modeling a real platform.<br>
<br>
Note also this machine has no specification except 5 lines in<br>
the header of this file:<br>
<br>
 * emulates a simple machine with ISA-like bus.<br>
 * ISA IO space mapped to the 0x14000000 (PHYS) and<br>
 * ISA memory at the 0x10000000 (PHYS, 16Mb in size).<br>
 * All peripherial devices are attached to this "bus" with<br>
 * the standard PC ISA addresses.<br>
<br>
It is time to deprecate this obsolete machine. Users are<br>
recommended to use the Malta board, which hardware is well<br>
documented.<br>
<br>
Signed-off-by: Philippe Mathieu-Daudé <<a href="mailto:philmd@redhat.com">philmd@redhat.com</a>><br>
---<br>
 qemu-deprecated.texi | 5 +++++<br>
 hw/mips/mips_r4k.c   | 1 +<br>
 MAINTAINERS          | 2 +-<br>
 3 files changed, 7 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi<br>
index 4b4b7425ac..05265b43c8 100644<br>
--- a/qemu-deprecated.texi<br>
+++ b/qemu-deprecated.texi<br>
@@ -266,6 +266,11 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or<br>
<br>
 @section System emulator machines<br>
<br>
+@subsection mips r4k platform (since 4.2)<br>
+<br>
+This machine type is very old and unmaintained. Users should use the 'malta'<br>
+machine type instead.<br>
+<br>
 @subsection pc-0.12, pc-0.13, pc-0.14 and pc-0.15 (since 4.0)<br>
<br>
 These machine types are very old and likely can not be used for live migration<br>
diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c<br>
index 70024235ae..0b79ad26cb 100644<br>
--- a/hw/mips/mips_r4k.c<br>
+++ b/hw/mips/mips_r4k.c<br>
@@ -294,6 +294,7 @@ void mips_r4k_init(MachineState *machine)<br>
<br>
 static void mips_machine_init(MachineClass *mc)<br>
 {<br>
+    mc->deprecation_reason = "use malta machine type instead";<br>
     mc->desc = "mips r4k platform";<br>
     mc->init = mips_r4k_init;<br>
     mc->block_default_type = IF_IDE;<br>
diff --git a/MAINTAINERS b/MAINTAINERS<br>
index 5e5e3e52d6..3b3a88e264 100644<br>
--- a/MAINTAINERS<br>
+++ b/MAINTAINERS<br>
@@ -972,7 +972,7 @@ F: hw/net/mipsnet.c<br>
 R4000<br>
 M: Aurelien Jarno <<a href="mailto:aurelien@aurel32.net">aurelien@aurel32.net</a>><br>
 R: Aleksandar Rikalo <<a href="mailto:aleksandar.rikalo@rt-rk.com">aleksandar.rikalo@rt-rk.com</a>><br>
-S: Maintained<br>
+S: Obsolete<br>
 F: hw/mips/mips_r4k.c<br>
<br>
 Fulong 2E<br>
-- <br>
2.21.0<br>
<br>
<br>
</blockquote>