History

Merge tag 'kvm-x86-misc-6.14' of https://github.com/kvm-x86/linux into HEAD

KVM x86 misc changes for 6.14: - Overhaul KVM's CPUID feature infrastructure to track all vCPU capabilities instead of just those where KVM needs to manage state and/or explicitly enable the feature in hardware. Along the way, refactor the code to make it easier to add features, and to make it more self-documenting how KVM is handling each feature. - Rework KVM's handling of VM-Exits during event vectoring; this plugs holes where KVM unintentionally puts the vCPU into infinite loops in some scenarios (e.g. if emulation is triggered by the exit), and brings parity between VMX and SVM. - Add pending request and interrupt injection information to the kvm_exit and kvm_entry tracepoints respectively. - Fix a relatively benign flaw where KVM would end up redoing RDPKRU when loading guest/host PKRU, due to a refactoring of the kernel helpers that didn't account for KVM's pre-checking of the need to do WRPKRU.

Paolo Bonzini committed 1 year ago

Commit 4f7ff702 parents 892e7b8 4c20cd435 files · +1189 −721Browse files

Showing the changes to include/uapi/linux (1 of 35 files). Show all

Unified · Split

include/uapi/linux/kvm.h+0−4
@@ -617,10 +617,6 @@ struct kvm_ioeventfd { · 616 unmodified lines
617617 #define KVM_X86_DISABLE_EXITS_HLT (1 << 1)
618618 #define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2)
619619 #define KVM_X86_DISABLE_EXITS_CSTATE (1 << 3)
620−#define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \
621− KVM_X86_DISABLE_EXITS_HLT | \
622− KVM_X86_DISABLE_EXITS_PAUSE | \
623− KVM_X86_DISABLE_EXITS_CSTATE)
624620
625621 /* for KVM_ENABLE_CAP */
626622 struct kvm_enable_cap {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t