Skip to contentSkip to conversation

docs/system: Deprecate raspi2/raspi3 machine aliases

PATCH In review Philippe Mathieu-Daudé 3 participants 6 messages Oct 19, 2020 – Oct 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system: Deprecate raspi2/raspi3 machine aliases

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

---
 docs/system/deprecated.rst | 5 +++++
 1 file changed, 5 insertions(+)
docs/system/deprecated.rst +5 -0
index 905628f3a0c..f0c7aaeb2ff 100644
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
 These machine types are very old and likely can not be used for live migration
 from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+
 Device options
 --------------
 
Signature · 1 line
2.26.2
#1 lore raw
Quoted 7 lines · Philippe Mathieu-Daudé

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

Note that the raspi3ap (posted yesterday) is a closer match to what we model than the raspi3b. But the B model has 1GB of RAM, while the A+ has 512MB. As a bigger amount of RAM is probably more useful to our users, I'm not suggesting replacing the raspi3 alias.

Quoted 23 lines
---
  docs/system/deprecated.rst | 5 +++++
  1 file changed, 5 insertions(+)
docs/system/deprecated.rst +5 -0
index 905628f3a0c..f0c7aaeb2ff 100644
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
  These machine types are very old and likely can not be used for live migration
  from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+
  Device options
  --------------
 
Acked-by on v1 1/1
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 18 lines · Philippe Mathieu-Daudé

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

---
 docs/system/deprecated.rst | 5 +++++
 1 file changed, 5 insertions(+)
docs/system/deprecated.rst +0 -0
index 905628f3a0c..f0c7aaeb2ff 100644

docs/system/deprecated.rst This machine has been renamed ``fuloong2e``. · line 362

Quoted 8 lines
docs/system/deprecated.rst +5 -0
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
 These machine types are very old and likely can not be used for live migration
 from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+

libvirt doesn't do any interpretation for these machine types, so we don't need to add any compatibility. Obviously users of these machine types might end up with broken configs if they were using them, but that's qemu's decision.

On behalf of libvirt:

#3 lore raw
In reply to Philippe Mathieu-Daudé

Ping? (patch Acked).

Quoted 30 lines · Philippe Mathieu-Daudé

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

---
  docs/system/deprecated.rst | 5 +++++
  1 file changed, 5 insertions(+)
docs/system/deprecated.rst +5 -0
index 905628f3a0c..f0c7aaeb2ff 100644
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
  These machine types are very old and likely can not be used for live migration
  from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+
  Device options
  --------------
 
#4 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 19 lines · Philippe Mathieu-Daudé

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

---
 docs/system/deprecated.rst | 5 +++++
 1 file changed, 5 insertions(+)
docs/system/deprecated.rst +0 -0
index 905628f3a0c..f0c7aaeb2ff 100644

docs/system/deprecated.rst This machine has been renamed ``fuloong2e``. · line 362

Quoted 8 lines
docs/system/deprecated.rst +5 -0
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
 These machine types are very old and likely can not be used for live migration
 from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+

This isn't valid rST syntax, which requires the underlining to be exactly the same length as the title string it underlines:

Warning, treated as error:
/home/petmay01/linaro/qemu-from-laptop/qemu/docs/system/deprecated.rst:348:Title underline too short.

Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2) '''''''''''''''''''''''''''''''''''''

I also think it would be helpful to have at least a sentence saying why we've renamed the machines.

thanks
-- PMM

#5 lore raw
Quoted 36 lines · Peter Maydell
Quoted 19 lines · Philippe Mathieu-Daudé

Since commit aa35ec2213b ("hw/arm/raspi: Use more specific machine names") the raspi2/raspi3 machines have been renamed as raspi2b/raspi3b.

As more Raspberry Pi 2/3 models are emulated, in order to avoid confusion deprecate the raspi2/raspi3 machine aliases.

---
 docs/system/deprecated.rst | 5 +++++
 1 file changed, 5 insertions(+)
docs/system/deprecated.rst +0 -0
index 905628f3a0c..f0c7aaeb2ff 100644

docs/system/deprecated.rst This machine has been renamed ``fuloong2e``. · line 362

Quoted 8 lines
docs/system/deprecated.rst +5 -0
@@ -355,6 +355,11 @@ This machine has been renamed ``fuloong2e``.
 These machine types are very old and likely can not be used for live migration
 from old QEMU versions anymore. A newer machine type should be used instead.
 
+Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2)
+'''''''''''''''''''''''''''''''''''''
+
+These machines have been respectively renamed ``raspi2b`` and ``raspi3b``.
+

This isn't valid rST syntax, which requires the underlining to be exactly the same length as the title string it underlines:

Warning, treated as error:
/home/petmay01/linaro/qemu-from-laptop/qemu/docs/system/deprecated.rst:348:Title underline too short.

Quoted 5 lines

Raspberry Pi ``raspi2`` and ``raspi3`` machines (since 5.2) '''''''''''''''''''''''''''''''''''''

I also think it would be helpful to have at least a sentence saying why we've renamed the machines.

I indeed forgot to run 'make man/html'.