diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-06-10 15:57:07 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-06-20 13:05:39 -0700 |
| commit | fb96d5cf0fdaacd2165797982502d5b157f8bcf5 (patch) | |
| tree | 9118c5ce797ea161af993c9fb73d76640c6bc7af /scripts/generate_rust_analyzer.py | |
| parent | 674ffc65035119be0ea2664684d1e8d004409ae1 (diff) | |
KVM: SVM: Allocate IOPM pages after initial setup in svm_hardware_setup()
Allocate pages for the IOPM after initial setup has been completed in
svm_hardware_setup(), so that sanity checks can be added in the setup flow
without needing to free the IOPM pages. The IOPM is only referenced (via
iopm_base) in init_vmcb() and svm_hardware_unsetup(), so there's no need
to allocate it early on.
No functional change intended (beyond the obvious ordering differences,
e.g. if the allocation fails).
Link: https://lore.kernel.org/r/20250610225737.156318-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
