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. Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
This commit is contained in:
parent
aa096aa0a0
commit
f2340cd9e4
4 changed files with 23 additions and 0 deletions
|
|
@ -1620,6 +1620,7 @@ struct kvm_xen_vcpu_attr {
|
|||
};
|
||||
|
||||
#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x0
|
||||
#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_TIME_INFO 0x1
|
||||
|
||||
/* Secure Encrypted Virtualization command */
|
||||
enum sev_cmd_id {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue