History

KVM: x86/xen: register vcpu time info region

Allow the Xen emulated guest the ability to register secondary vcpu time information. On Xen guests this is used in order to be mapped to userspace and hence allow vdso gettimeofday to work.

Joao Martins committed 8 years ago

Commit f2340cd1 parent aa096aa4 files · +23 −0Browse files

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

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -1620,6 +1620,7 @@ struct kvm_xen_vcpu_attr { · 1619 unmodified lines
16201620 };
16211621
16221622 #define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x0
1623+#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_TIME_INFO 0x1
16231624
16241625 /* Secure Encrypted Virtualization command */
16251626 enum sev_cmd_id {