diff options
| author | Alexander Potapenko <glider@google.com> | 2025-11-20 17:46:18 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-11-21 08:57:45 +0000 |
| commit | 880e0a0225f6667373f85f9dfa78b5d9fb6e29e2 (patch) | |
| tree | 349bf812194898ee4fb008dcc778bb63d6e0b71f /executor/kvm.h | |
| parent | f7a9f9c4982d10223771d3aa2287538bc08b9024 (diff) | |
executor: x86: factor out common code in rdmsr()/wrmsr()
While at it, fix a bug in rdmsr() that apparently lost the top 32 bits.
Also fix a bug in Intel's Secondary Processor-based Controls:
we were incorrectly using the top 32 bits of
X86_MSR_IA32_VMX_PROCBASED_CTLS2 to enable all the available controls
without additional setup. This only worked because rdmsr() zeroed out
those top bits.
Diffstat (limited to 'executor/kvm.h')
0 files changed, 0 insertions, 0 deletions
