summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2020-12-03 16:20:32 +0000
committerDavid Woodhouse <dwmw@amazon.co.uk>2021-02-04 14:19:38 +0000
commita3833b81b05d0ae92ae085959dd8da136ec91868 (patch)
tree85ee581fb142cebf1a1b881414d2c4ca9da7f96d /include/uapi/linux/kvm.h
parenta76b9641ad1c0b045045727a6cbbeebf80b6b9bb (diff)
downloadlinux-a3833b81b05d0ae92ae085959dd8da136ec91868.tar.gz
linux-a3833b81b05d0ae92ae085959dd8da136ec91868.tar.bz2
linux-a3833b81b05d0ae92ae085959dd8da136ec91868.zip
KVM: x86/xen: latch long_mode when hypercall page is set up
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r--include/uapi/linux/kvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 334796799dbc..11644954a2e2 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1594,10 +1594,13 @@ struct kvm_xen_hvm_attr {
__u16 type;
__u16 pad[3];
union {
+ __u8 long_mode;
__u64 pad[8];
} u;
};
+#define KVM_XEN_ATTR_TYPE_LONG_MODE 0x0
+
/* Secure Encrypted Virtualization command */
enum sev_cmd_id {
/* Guest initialization commands */