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
1620};1620};
1621 1621
1622#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x01622#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x0
1623#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_TIME_INFO 0x1
1623 1624
1624/* Secure Encrypted Virtualization command */1625/* Secure Encrypted Virtualization command */
1625enum sev_cmd_id {1626enum sev_cmd_id {