diff options
author | Sean Christopherson <seanjc@google.com> | 2024-03-15 02:26:33 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-04-29 22:55:18 +0300 |
commit | 23ef21f58cf8bbecbe479015ef79baa15a0da0b8 (patch) | |
tree | 540e4c7f3a627a5c709ec61e615b3a7c89b650d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1051e29cb9156789e908ab9565f59e7aba470d60 (diff) | |
download | linux-23ef21f58cf8bbecbe479015ef79baa15a0da0b8.tar.xz |
KVM: selftests: Fold x86's descriptor tables helpers into vcpu_init_sregs()
Now that the per-VM, on-demand allocation logic in kvm_setup_gdt() and
vcpu_init_descriptor_tables() is gone, fold them into vcpu_init_sregs().
Note, both kvm_setup_gdt() and vcpu_init_descriptor_tables() configured the
GDT, which is why it looks like kvm_setup_gdt() disappears.
Opportunistically delete the pointless zeroing of the IDT limit (it was
being unconditionally overwritten by vcpu_init_descriptor_tables()).
Reviewed-by: Ackerley Tng <ackerleytng@google.com>
Link: https://lore.kernel.org/r/20240314232637.2538648-15-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