aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_kvm.txt.const
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-08-05 18:19:32 +0200
committerAlexander Potapenko <glider@google.com>2024-08-07 16:00:37 +0000
commit0020fc2034b4113f0e6c59ba408795e2b63d5e43 (patch)
tree4f7487cde7bdd3da4f5e9fbd94971abfb2fe4b61 /sys/linux/dev_kvm.txt.const
parent109d2082129b092aabc13316527c1c35a9c6be1b (diff)
sys/linux: declare KVM_{SET,GET,HAS}_DEVICE_ATTR for VMs
In addition to device FDs, certain arches (s390 and ARM64) allow applying device attributes to VM FDs (https://docs.kernel.org/virt/kvm/devices/vm.html) Add descriptions for the corresponding ioctls on ARM64, including support for setting SMCCC filters via struct kvm_smccc_filter.
Diffstat (limited to 'sys/linux/dev_kvm.txt.const')
-rw-r--r--sys/linux/dev_kvm.txt.const5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm.txt.const b/sys/linux/dev_kvm.txt.const
index 8967b9015..96a05cf9c 100644
--- a/sys/linux/dev_kvm.txt.const
+++ b/sys/linux/dev_kvm.txt.const
@@ -13,6 +13,8 @@ KVM_ARM_VCPU_INIT = 386:amd64:mips64le:ppc64le:s390x:???, arm64:1075883694
KVM_ARM_VCPU_PMU_V3 = 386:amd64:mips64le:ppc64le:s390x:???, arm64:3
KVM_ARM_VCPU_POWER_OFF = 386:amd64:mips64le:ppc64le:s390x:???, arm64:0
KVM_ARM_VCPU_PSCI_0_2 = 386:amd64:mips64le:ppc64le:s390x:???, arm64:2
+KVM_ARM_VM_SMCCC_CTRL = 386:amd64:mips64le:ppc64le:s390x:???, arm64:0
+KVM_ARM_VM_SMCCC_FILTER = 386:amd64:mips64le:ppc64le:s390x:???, arm64:0
KVM_ASSIGN_DEV_IRQ = 1077980784
KVM_ASSIGN_PCI_DEVICE = 2151722601
KVM_ASSIGN_SET_INTX_MASK = 1077980836
@@ -197,6 +199,9 @@ KVM_SET_VCPU_EVENTS = 1077980832, mips64le:ppc64le:s390x:???
KVM_SET_XCRS = 1099476647, arm64:mips64le:ppc64le:s390x:???
KVM_SET_XSAVE = 1342221989, arm64:mips64le:ppc64le:s390x:???
KVM_SIGNAL_MSI = 1075883685, mips64le:ppc64le:2149625509
+KVM_SMCCC_FILTER_DENY = 386:amd64:mips64le:ppc64le:s390x:???, arm64:1
+KVM_SMCCC_FILTER_FWD_TO_USER = 386:amd64:mips64le:ppc64le:s390x:???, arm64:2
+KVM_SMCCC_FILTER_HANDLE = 386:amd64:mips64le:ppc64le:s390x:???, arm64:0
KVM_SMI = 44727, mips64le:ppc64le:536915639
KVM_STATE_NESTED_GUEST_MODE = 1, arm64:mips64le:ppc64le:s390x:???
KVM_STATE_NESTED_RUN_PENDING = 2, arm64:mips64le:ppc64le:s390x:???