diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-05-07 08:36:28 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-18 11:46:47 +0200 |
| commit | e2174295b41d8c9115ab246a630d4630724a2cd5 (patch) | |
| tree | 3da02ceb03368594324e6ff8c638502e718af5a7 /lib/debugobjects.c | |
| parent | 3731905ef28fc1a9240d1532b2a9efbaea205dc0 (diff) | |
KVM: nVMX: Add helpers to identify shadowed VMCS fields
So that future optimizations related to shadowed fields don't need to
define their own switch statement.
Add a BUILD_BUG_ON() to ensure at least one of the types (RW vs RO) is
defined when including vmcs_shadow_fields.h (guess who keeps mistyping
SHADOW_FIELD_RO as SHADOW_FIELD_R0).
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
