Skip to content
Commit 510425ff authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: x86 emulator: fix LIDT/LGDT in long mode



The operand size for these instructions is 8 bytes in long mode, even without
a REX prefix.  Set it explicitly.

Triggered while booting Linux with emulate_invalid_guest_state=1.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 79d5b4c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment