diff options
| author | Alexander Potapenko <glider@google.com> | 2025-07-17 18:35:35 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-07-18 11:16:37 +0000 |
| commit | 85589c8591e4df86079d33868491f43974387302 (patch) | |
| tree | 6621c41548ab4beb0126db5da5f723e7209f8025 /sys/linux/dev_kvm_amd64.txt.const | |
| parent | d79f526c65078b72958d88229cecab93a824d02e (diff) | |
sys/linux/dev_kvm_amd64.txt: define KVM_X86_SET_MSR_FILTER
See https://docs.kernel.org/virt/kvm/api.html#kvm-x86-set-msr-filter
Diffstat (limited to 'sys/linux/dev_kvm_amd64.txt.const')
| -rw-r--r-- | sys/linux/dev_kvm_amd64.txt.const | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt.const b/sys/linux/dev_kvm_amd64.txt.const index 02d5659c2..fe1c33f7c 100644 --- a/sys/linux/dev_kvm_amd64.txt.const +++ b/sys/linux/dev_kvm_amd64.txt.const @@ -79,6 +79,11 @@ KVM_MEMORY_ENCRYPT_OP = 386:3221532346, amd64:3221794490 KVM_MSR_EXIT_REASON_FILTER = 4 KVM_MSR_EXIT_REASON_INVAL = 1 KVM_MSR_EXIT_REASON_UNKNOWN = 2 +KVM_MSR_FILTER_DEFAULT_ALLOW = 0 +KVM_MSR_FILTER_DEFAULT_DENY = 1 +KVM_MSR_FILTER_MAX_RANGES = 16 +KVM_MSR_FILTER_READ = 1 +KVM_MSR_FILTER_WRITE = 2 KVM_NMI = 44698 KVM_REINJECT_CONTROL = 44657 KVM_SETUP_CPL3 = 8 @@ -164,6 +169,7 @@ KVM_X86_QUIRK_MWAIT_NEVER_UD_FAULTS = 64 KVM_X86_QUIRK_OUT_7E_INC_RIP = 8 KVM_X86_SETUP_MCE = 1074310812 KVM_X86_SET_MCE = 1077980830 +KVM_X86_SET_MSR_FILTER = 386:1090825926, amd64:1099476678 KVM_X86_SEV_ES_VM_BIT = 8 KVM_X86_SEV_VM_BIT = 4 KVM_X86_SW_PROTECTED_VM_BIT = 2 |
