KVM: x86 emulator: Check segment limits in real mode too
authorAvi Kivity <avi@redhat.com>
Tue, 21 Aug 2012 14:07:05 +0000 (17:07 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 27 Aug 2012 23:02:20 +0000 (20:02 -0300)
commita5625189f6810ef79ced53989c794acfa10d3370
treeaa496405cc5ee69b88f88228c1958cb7b51e7fa8
parent03ebebeb1ff5d1d6209fd8df4ffc9204df82bd55
KVM: x86 emulator: Check segment limits in real mode too

Segment limits are verified in real mode, not just protected mode.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c