Skip to contentSkip to conversation

Deprecate KVM support for AArch32

for-5.0 Peter Maydell 5 participants 7 messages Apr 14, 2020 – Apr 15, 2020

lore
Share & tools
lore
#0 lore raw

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
docs/system/deprecated.rst +8 -0
index c633fe2beff..3142fac3865 100644
@@ -336,6 +336,14 @@ The ``compat`` property used to set backwards compatibility modes for
 the processor has been deprecated. The ``max-cpu-compat`` property of
 the ``pseries`` machine type should be used instead.
 
+KVM guest support on 32-bit Arm hosts (since 5.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''
+
+The Linux kernel has dropped support for allowing 32-bit Arm systems
+to host KVM guests as of the 5.7 kernel. Accordingly, QEMU is deprecating
+its support for this configuration and will remove it in a future version.
+Running 32-bit guests on a 64-bit Arm host remains supported.
+
 System emulator devices
 -----------------------
 
Signature · 1 line
2.20.1
Reviewed-by
#1 lore raw
Quoted 39 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
docs/system/deprecated.rst +8 -0
index c633fe2beff..3142fac3865 100644
@@ -336,6 +336,14 @@ The ``compat`` property used to set backwards compatibility modes for
 the processor has been deprecated. The ``max-cpu-compat`` property of
 the ``pseries`` machine type should be used instead.
 
+KVM guest support on 32-bit Arm hosts (since 5.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''
+
+The Linux kernel has dropped support for allowing 32-bit Arm systems
+to host KVM guests as of the 5.7 kernel. Accordingly, QEMU is deprecating
+its support for this configuration and will remove it in a future version.
+Running 32-bit guests on a 64-bit Arm host remains supported.
+
 System emulator devices
 -----------------------
 
Signature · 1 line
2.20.1
Reviewed-by
#2 lore raw
In reply to Peter Maydell
Quoted 7 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

Quoted 8 lines

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

r~

#3 lore raw
In reply to Peter Maydell
Quoted 7 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

Quoted 8 lines

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

The docs are sufficient to start the deprecation process, but we might consider also having a warning from configure, or a message on stderr at runtime to make it more visible to users.

Quoted 7 lines
docs/system/deprecated.rst +0 -0
index c633fe2beff..3142fac3865 100644
@@ -336,6 +336,14 @@ The ``compat`` property used to set backwards compatibility modes for
 the processor has been deprecated. The ``max-cpu-compat`` property of

docs/system/deprecated.rst The ``compat`` property used to set backwards compatibility modes for · line 346

Quoted 10 lines
docs/system/deprecated.rst +8 -0
 the ``pseries`` machine type should be used instead.
 
+KVM guest support on 32-bit Arm hosts (since 5.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''
+
+The Linux kernel has dropped support for allowing 32-bit Arm systems
+to host KVM guests as of the 5.7 kernel. Accordingly, QEMU is deprecating
+its support for this configuration and will remove it in a future version.
+Running 32-bit guests on a 64-bit Arm host remains supported.
+

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#4 lore raw
Quoted 15 lines · Daniel P. Berrangé
Quoted 13 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

Quoted 6 lines
Quoted 2 lines
 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

The docs are sufficient to start the deprecation process, but we might consider also having a warning from configure, or a message on stderr at runtime to make it more visible to users.

Mmm. I didn't feel entirely comfortable making code changes to print messages at this point in the 5.0 release cycle, though.

thanks
-- PMM

#5 lore raw
Quoted 19 lines · Peter Maydell
Quoted 18 lines · Daniel P. Berrangé
Quoted 15 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
Quoted 6 lines
Quoted 3 lines

The docs are sufficient to start the deprecation process, but we might consider also having a warning from configure, or a message on stderr at runtime to make it more visible to users.

Mmm. I didn't feel entirely comfortable making code changes to print messages at this point in the 5.0 release cycle, though.

Sure, that's understandable.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
Reviewed-by
#6 lore raw
In reply to Peter Maydell
Quoted 7 lines · Peter Maydell

The Linux kernel has dropped support for allowing 32-bit Arm systems to host KVM guests (kernel commit 541ad0150ca4aa663a2, which just landed upstream in the 5.7 merge window). Mark QEMU's support for this configuration as deprecated, so that we can delete that support code in 5.2.

Quoted 27 lines

---
I was reading the 5.7 merge window writeup on LWN this weekend and saw that the dropping of 32-bit support had gone in; just enough time to squeeze our deprecation warning into 5.0 so we can drop the code in 5.2 rather than 6.0...

 docs/system/deprecated.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
docs/system/deprecated.rst +8 -0
index c633fe2beff..3142fac3865 100644
@@ -336,6 +336,14 @@ The ``compat`` property used to set backwards compatibility modes for
 the processor has been deprecated. The ``max-cpu-compat`` property of
 the ``pseries`` machine type should be used instead.
 
+KVM guest support on 32-bit Arm hosts (since 5.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''
+
+The Linux kernel has dropped support for allowing 32-bit Arm systems
+to host KVM guests as of the 5.7 kernel. Accordingly, QEMU is deprecating
+its support for this configuration and will remove it in a future version.
+Running 32-bit guests on a 64-bit Arm host remains supported.
+
 System emulator devices
 -----------------------
Signature · 1 line
Alex Bennée