]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge commit 'kvm-vmenter-load-store-regs' into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 30 May 2026 20:37:48 +0000 (22:37 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 30 May 2026 20:42:15 +0000 (22:42 +0200)
commitffb83b98357658b44a8a3b617a42d7ae48514ffd
tree2442933daf7acd5039eee946b7b1d63422e67631
parentb7fbe9a1bf9ee6c967ef77d366ca58c35fcf1887
parente2e664812f7558e5a999271db7d17a391862d701
Merge commit 'kvm-vmenter-load-store-regs' into HEAD

Convert the repeated register save/restore sequences into macros,
trading some level of implementation trickiness for conciseness (more
than one register can be saved/restored with one invocation) and a
smaller chance of cut and paste errors between VMX and SVM files.

This becomes more useful with the upcoming support for APX, which
would need to add 32 lines to the VM entry/exit paths.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h