Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #83832

missing backport patch (KVM/SVM) to support modern guests in nested environment with 6.1.x

From Lagoth Zanta <lagothzanta777@gmail.com>
Newsgroups linux.debian.kernel
Subject missing backport patch (KVM/SVM) to support modern guests in nested environment with 6.1.x
Date 2024-09-04 14:10 +0200
Message-ID <JiWZH-9U9y-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: linux-source-6.1
Version: 6.1.106-3

Hi! 

One patch is missing from the kernel source, causing modern guest OSes to be 
broken in a nested environment.

Affected Guest (for example): ESXI 8. with AMD CPUs

ESXI 8.0 can boot, but any VM doesn't boot/work inside the nested environment.

The guest VMs are work inside nested environment after applying the missing 
patch.

More info: https://lists.proxmox.com/pipermail/pve-devel/2023-October/
059540.html

Original patch in the mainline kernel: https://git.kernel.org/pub/scm/linux/
kernel/git/stable/linux.git/commit/arch/x86/kvm/svm/svm.c?
h=v6.10.7&id=176bfc5b17fee327585583a427e2857d9dfd8f68

A backported patch is available here: https://github.com/lagothzanta77/lagoth-infra/blob/master/issues/patches/amd_nested_flushbyasid.patch

Screenshots of the nested ESXi environment are available here: 

--without patch: https://github.com/lagothzanta77/lagoth-infra/blob/master/
issues/images/esxi8_without_patch.png

-- with patch: https://github.com/lagothzanta77/lagoth-infra/blob/master/
issues/images/esxi8_with_patch.png

Lagoth Zanta

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

  missing backport patch (KVM/SVM) to support modern guests in nested  environment with 6.1.x Lagoth Zanta <lagothzanta777@gmail.com> - 2024-09-04 14:10 +0200

csiph-web