diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-28 18:09:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-08-06 17:32:02 +0200 |
commit | 2305339ee7129d9d56af3bdd4d59aff4d29ed390 (patch) | |
tree | 4f3fdd0a7e31a8b7f2ebf9f68221898aa043f24c /tools/leds | |
parent | 44883f01fe6ae436a8604c47d8435276fef369b0 (diff) |
kvm: selftests: create a GDT and TSS
The GDT and the TSS base were left to zero, and this has interesting effects
when the TSS descriptor is later read to set up a VMCS's TR_BASE. Basically
it worked by chance, and this patch fixes it by setting up all the protected
mode data structures properly.
Because the GDT and TSS addresses are virtual, the page tables now always
exist at the time of vcpu setup.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions