History

arm64: KVM: Introduce per-vcpu kvm device controls

In some cases it needs to get/set attributes specific to a vcpu and so needs something else than ONE_REG. Let's copy the KVM_DEVICE approach, and define the respective ioctls for the vcpu file descriptor.

Shannon Zhao committed 10 years ago

Commit f577f6c1 parent 808e7385 files · +71 −4Browse files

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

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -851,6 +851,7 @@ struct kvm_ppc_smmu_info { · 850 unmodified lines
851851 #define KVM_CAP_HYPERV_SYNIC 123
852852 #define KVM_CAP_S390_RI 124
853853 #define KVM_CAP_ARM_PMU_V3 125
854+#define KVM_CAP_VCPU_ATTRIBUTES 126
854855
855856 #ifdef KVM_CAP_IRQ_ROUTING
856857

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