diff options
author | Sean Christopherson <[email protected]> | 2024-04-23 15:15:18 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-06-03 08:58:53 -0700 |
commit | 7974c0643ee3b493d5a3f2a1ee25e9ddb53283c3 (patch) | |
tree | 3ccf734a4e23ff39ecf35fef73406666faf6827f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c3f38fa61af77b49866b006939479069cd451173 (diff) |
KVM: x86: Add a struct to consolidate host values, e.g. EFER, XCR0, etc...
Add "struct kvm_host_values kvm_host" to hold the various host values
that KVM snapshots during initialization. Bundling the host values into
a single struct simplifies adding new MSRs and other features with host
state/values that KVM cares about, and provides a one-stop shop. E.g.
adding a new value requires one line, whereas tracking each value
individual often requires three: declaration, definition, and export.
No functional change intended.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions