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]
/
tools
/
testing
/
selftests
/
kvm
/
include
/
x86_64
/
svm.h
diff --git
a/tools/testing/selftests/kvm/include/x86_64/svm.h
b/tools/testing/selftests/kvm/include/x86_64/svm.h
index
89ce2c6
..
6e1527a
100644
(file)
--- a/
tools/testing/selftests/kvm/include/x86_64/svm.h
+++ b/
tools/testing/selftests/kvm/include/x86_64/svm.h
@@
-123,7
+123,10
@@
struct __attribute__ ((__packed__)) vmcb_control_area {
* Offset 0x3e0, 32 bytes reserved
* for use by hypervisor/software.
*/
- u8 reserved_sw[32];
+ union {
+ struct hv_enlightenments hv_enlightenments;
+ u8 reserved_sw[32];
+ };
};