Skip to content
Commit 337166aa authored by Jan Kiszka's avatar Jan Kiszka Committed by Paolo Bonzini
Browse files

VMX: Fix initialization of GDT, IDT and TR descriptors



We were loading the addresses of the descriptor pointers, not the
addresses they are pointing to. By declaring the pointers with the
proper type, we can also save some castings + struct descr.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 442b1306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment