diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-11-09 01:30:46 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-11 10:56:23 -0500 |
| commit | 0cacb80b98f36a5ba67cc0b0efaea98e2a53da4c (patch) | |
| tree | d5d199202725e197ef4a56a79d5d2cff5eed6231 /net/switchdev/switchdev.c | |
| parent | 67f4b9969c305be515e47f809ecacfd86bd20a9c (diff) | |
KVM: VMX: Macrofy the MSR bitmap getters and setters
Add builder macros to generate the MSR bitmap helpers to reduce the
amount of copy-paste code, especially with respect to all the magic
numbers needed to calc the correct bit location.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211109013047.2041518-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
