KVM: x86/xen: register vcpu info

The vcpu info supersedes the per vcpu area of the shared info page and
the guest vcpus will use this instead.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
This commit is contained in:
Joao Martins 2018-06-29 10:52:52 -04:00 committed by David Woodhouse
parent 3e32461588
commit 73e69a8634
3 changed files with 29 additions and 1 deletions

View file

@ -1614,10 +1614,13 @@ struct kvm_xen_vcpu_attr {
__u16 type;
__u16 pad[3];
union {
__u64 gpa;
__u64 pad[8];
} u;
};
#define KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO 0x0
/* Secure Encrypted Virtualization command */
enum sev_cmd_id {
/* Guest initialization commands */