diff options
author | Sean Christopherson <[email protected]> | 2024-03-14 16:26:33 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-04-29 12:55:18 -0700 |
commit | 23ef21f58cf8bbecbe479015ef79baa15a0da0b8 (patch) | |
tree | 540e4c7f3a627a5c709ec61e615b3a7c89b650d4 /include/linux/overflow.h | |
parent | 1051e29cb9156789e908ab9565f59e7aba470d60 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions