[PATCH] KVM: SVM: Fix SVM idt confusion
authorLeonard Norrgard <leonard.norrgard@refactor.fi>
Fri, 26 Jan 2007 08:56:38 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:57 +0000 (13:50 -0800)
commitbce66ca4a2f695509e1b021311eb4de1e4fdf3e4
tree65812b48148006c619289b34f85d131441ff881b
parent4b89eed93e0fa40a63e3d7b1796ec1337ea7a3aa
[PATCH] KVM: SVM: Fix SVM idt confusion

There's an obvious typo in svm_{get,set}_idt, causing it to access the ldt
instead.

Because these functions are only called for save/load on AMD, the bug does not
impact normal operation.  With the fix, save/load works as expected on AMD
hosts.

Signed-off-by: Uri Lublin <uril@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/svm.c