aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/boot/header.S
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-03-16 18:48:26 +0200
committerAvi Kivity <avi@qumranet.com>2008-03-25 10:22:16 +0200
commit5dc832628229d2736fab10523566855c3cda622d (patch)
tree9f2024d364073ba42a6fed317a5e66dd9999e28d /arch/x86/boot/header.S
parenta4083c9271e0a697278e089f2c0b9a95363ada0a (diff)
KVM: VMX: Restore tss even on x86_64
The vmx hardware state restore restores the tss selector and base address, but not its length. Usually, this does not matter since most of the tss contents is within the default length of 0x67. However, if a process is using ioperm() to grant itself I/O port permissions, an additional bitmap within the tss, but outside the default length is consulted. The effect is that the process will receive a SIGSEGV instead of transparently accessing the port. Fix by restoring the tss length. Note that i386 had this working already. Closes bugzilla 10246. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/boot/header.S')
0 files changed, 0 insertions, 0 deletions