diff options
| author | Carlos Bilbao <[email protected]> | 2022-10-24 11:44:48 -0500 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-11-09 12:31:16 -0500 |
| commit | d08b48585309247d4d28051dd7a315eef5d1db26 (patch) | |
| tree | 5dab8d6b5edf4166a086c18a12ef8aa95381728e /tools/perf/scripts/python/bin | |
| parent | 07a368b3f55a79d33cad113d506b279e04fd2a00 (diff) | |
KVM: SVM: Name and check reserved fields with structs offset
Rename reserved fields on all structs in arch/x86/include/asm/svm.h
following their offset within the structs. Include compile time checks for
this in the same place where other BUILD_BUG_ON for the structs are.
This also solves that fields of struct sev_es_save_area are named by their
order of appearance, but right now they jump from reserved_5 to reserved_7.
Link: https://lkml.org/lkml/2022/10/22/376
Signed-off-by: Carlos Bilbao <[email protected]>
Message-Id: <[email protected]>
[Use ASSERT_STRUCT_OFFSET + fix a couple wrong offsets. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions