]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Add a #define for the architectural max instruction length
authorSean Christopherson <seanjc@google.com>
Sat, 1 Feb 2025 01:55:15 +0000 (17:55 -0800)
committerSean Christopherson <seanjc@google.com>
Mon, 24 Feb 2025 17:01:07 +0000 (09:01 -0800)
commitd4aea23fd0ff6d792f66886bcb158e52a095b3bc
treec1ce1da2ea4df658d2b57fe9eea7a6ae99dd0347
parent9aeb9d8a67389caa97545987adc79a25a734b149
KVM: x86: Add a #define for the architectural max instruction length

Add a #define to capture x86's architecturally defined max instruction
length instead of open coding the literal in a variety of places.

No functional change intended.

Link: https://lore.kernel.org/r/20250201015518.689704-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/kvm_emulate.h
arch/x86/kvm/trace.h
arch/x86/kvm/vmx/nested.c