]> git.proxmox.com Git - pve-kernel.git/commit
backport constraining guest-supported xfeatures only at KVM_GET_XSAVE{2}
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Oct 2023 13:16:25 +0000 (15:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Oct 2023 13:16:56 +0000 (15:16 +0200)
commit6d825fcff3fc2ac9b2b1d6b30945fbcb4fa5cf29
tree57aaab2a89b0e74551e5b8dca42f084d4dfa8273
parent9a2449d7c23e89ef799be960d59fada96f250ad0
backport constraining guest-supported xfeatures only at KVM_GET_XSAVE{2}

This improves compatibility for guests w.r.t. live-migration, or live
snapshot rollback, to hosts with less (FPU) xfeatures supported, as
long as the set of features that was actually exposed to the guest is
still supported.

This improves on the ad856280ddea ("x86/kvm/fpu: Limit guest
user_xfeatures to supported bits of XCR0") bug fix.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
patches/kernel/0016-x86-fpu-Allow-caller-to-constrain-xfeatures-when-cop.patch [new file with mode: 0644]
patches/kernel/0017-KVM-x86-Constrain-guest-supported-xfeatures-only-at-.patch [new file with mode: 0644]