projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: SVM: Add a proper field for Hyper-V VMCB enlightenments
[platform/kernel/linux-starfive.git]
/
arch
/
x86
/
include
/
asm
/
svm.h
diff --git
a/arch/x86/include/asm/svm.h
b/arch/x86/include/asm/svm.h
index
236fda7
..
98724e7
100644
(file)
--- a/
arch/x86/include/asm/svm.h
+++ b/
arch/x86/include/asm/svm.h
@@
-5,6
+5,8
@@
#include <uapi/asm/svm.h>
#include <uapi/asm/kvm.h>
#include <uapi/asm/svm.h>
#include <uapi/asm/kvm.h>
+#include <asm/hyperv-tlfs.h>
+
/*
* 32-bit intercept words in the VMCB Control Area, starting
* at Byte offset 000h.
/*
* 32-bit intercept words in the VMCB Control Area, starting
* at Byte offset 000h.
@@
-161,7
+163,10
@@
struct __attribute__ ((__packed__)) vmcb_control_area {
* Offset 0x3e0, 32 bytes reserved
* for use by hypervisor/software.
*/
* Offset 0x3e0, 32 bytes reserved
* for use by hypervisor/software.
*/
- u8 reserved_sw[32];
+ union {
+ struct hv_enlightenments hv_enlightenments;
+ u8 reserved_sw[32];
+ };
};
};