selftests: KVM: Replace get_gdt/idt_base() by get_gdt/idt()
linmiaohe
Reviewed-byQuoted 4 lines · Eric Auger
get_gdt_base()andget_idt_base()only return the base address of the descriptor tables. Soon we will need to get the size as well. Change the prototype of those functions so that they return the wholedesc_ptrstruct instead of the address field.Signed-off-by Eric Auger <[email protected]>
Looks good for me. Thanks.
Reviewed-by Miaohe Lin <[email protected]