[pve-devel] applied: [PATCH qemu] fixes for QEMU 9.0

Thomas Lamprecht t.lamprecht at proxmox.com
Fri May 17 17:21:15 CEST 2024


Am 17/05/2024 um 10:44 schrieb Fiona Ebner:
> Most importantly, fix forwards and backwards migration with VirtIO-GPU
> display.
> 
> Other fixes are for a regression in pflash device (introduced in 8.2)
> and some fixes for x86(_64) TCG emulation. One of the patches needed
> to be adapted, because it removed a helper that is still in use in
> 9.0.0.
> 
> There also is a revert for a fix in VirtIO PCI devices that turned out
> to cause some issues, see the revert itself for more details.
> 
> Lastly, there is a change to move compatibility flags for a new
> VirtIO-net feature to the correct machine type. The feature was
> introduced in QEMU 8.2, but the compatibility flags got added to
> machine version 8.0 instead of 8.1. This breaks backwards migration
> with machine version 8.1 from a 8.2/9.0 binary to an 8.1 binary, in
> cases where the guest kernel enables the feature (e.g. Ubuntu 23.10).
> While that breaks migration with machine version 8.1 from an unpatched
> to a patched binary, Proxmox VE only ever had 8.2 on the test
> repository and 9.0 not yet in any public repository. An upstream
> developer suggested it is the proper fix [0]. Upstream submission [1].
> 
> [0]: https://lore.kernel.org/qemu-devel/CACGkMEtZrJuhof+hUGVRvLLQE+8nQE5XmSHpT0NAQ1EpnqfmsA@mail.gmail.com/T/#u
> [1]: https://lore.kernel.org/qemu-devel/20240517075336.104091-1-f.ebner@proxmox.com/T/#u
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
>  .../0006-virtio-gpu-fix-v2-migration.patch    | 98 +++++++++++++++++++
>  ...0007-hw-pflash-fix-block-write-start.patch | 59 +++++++++++
>  ...operand-size-for-DATA16-REX.W-POPCNT.patch | 51 ++++++++++
>  ...ru-wrpkru-are-no-prefix-instructions.patch | 40 ++++++++
>  ...6-fix-feature-dependency-for-WAITPKG.patch | 33 +++++++
>  ...tio-pci-fix-use-of-a-released-vector.patch | 87 ++++++++++++++++
>  ...move-compatibility-flags-for-VirtIO-.patch | 57 +++++++++++
>  ...sed-balloon-qemu-4-0-config-size-fal.patch |  4 +-
>  debian/patches/series                         |  7 ++
>  9 files changed, 434 insertions(+), 2 deletions(-)
>  create mode 100644 debian/patches/extra/0006-virtio-gpu-fix-v2-migration.patch
>  create mode 100644 debian/patches/extra/0007-hw-pflash-fix-block-write-start.patch
>  create mode 100644 debian/patches/extra/0008-target-i386-fix-operand-size-for-DATA16-REX.W-POPCNT.patch
>  create mode 100644 debian/patches/extra/0009-target-i386-rdpkru-wrpkru-are-no-prefix-instructions.patch
>  create mode 100644 debian/patches/extra/0010-target-i386-fix-feature-dependency-for-WAITPKG.patch
>  create mode 100644 debian/patches/extra/0011-Revert-virtio-pci-fix-use-of-a-released-vector.patch
>  create mode 100644 debian/patches/extra/0012-hw-core-machine-move-compatibility-flags-for-VirtIO-.patch
> 
>

applied, thanks!




More information about the pve-devel mailing list