commit | 5b7f6a1e6f6cb6537694a9bbd43bb4ee5a6d8bc2 | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Sun Nov 02 11:54:55 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 07 15:44:08 2014 +0100 |
tree | b1e44f8e5eaa8c6fee7e82762c5012be6062c00a | |
parent | 38827dbd3fb85a94a002fcf67b8735d5bc1a7e1a [diff] |
KVM: x86: Combine the lgdt and lidt emulation logic LGDT and LIDT emulation logic is almost identical. Merge the logic into a single point to avoid redundancy. This will be used by the next patch that will ensure the bases of the loaded GDTR and IDTR are canonical. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>