diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-06-30 13:28:28 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-10 09:07:08 -0700 |
| commit | 2c56780d8ec7ecf88ebd6a26ee14f6418ea4f8a0 (patch) | |
| tree | f39b7e047ae8d6e81935f49c3a0aad655472dfd4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4b9819a50674dd40d176033f9ea2e23a70889dc6 (diff) | |
KVM: x86: Move nested_ops out of kvm_x86_ops, to global kvm_nested_ops
Rework KVM's handling of per-vendor nested ops to copy the vendor's ops
into a global structure owned by common x86, i.e. treat nested ops just
like x86 and PMU ops. In addition to providing consistency across all ops
implementations, making a copy of the ops prevents changes to the vendor's
ops after KVM is initialized, i.e. guards against goofs where KVM *thinks*
it is updating nested ops, but which won't take effect now that KVM uses
static calls to invoke vendor hooks.
Ignoring the side effects of tagging {svm,vmx}_nested_ops as __initdata,
no functional change intended.
Link: https://patch.msgid.link/20260630202828.440724-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
