KVM: x86: Fix TSS size check for 16-bit tasks
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 14 Apr 2010 14:57:11 +0000 (16:57 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 21 Apr 2010 10:51:42 +0000 (13:51 +0300)
commite8861cfe2c75bdce36655b64d7ce02c2b31b604d
treebd7b837b7f645c0206605506e242655f3fcba015
parenteda2beda835697878e309b6049aa0a3bad051590
KVM: x86: Fix TSS size check for 16-bit tasks

A 16-bit TSS is only 44 bytes long. So make sure to test for the correct
size on task switch.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c