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.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -1620,6 +1620,7 @@ struct kvm_xen_vcpu_attr { · 1619 unmodified lines | ||
| 1620 | 1620 | }; |
| 1621 | 1621 | |
| 1622 | 1622 | #define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x0 |
| 1623 | +#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_TIME_INFO 0x1 | |
| 1623 | 1624 | |
| 1624 | 1625 | /* Secure Encrypted Virtualization command */ |
| 1625 | 1626 | enum sev_cmd_id { |