]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1079fb188398efe87faf580e46796e7261f1600c
tree65812b48148006c619289b34f85d131441ff881b
parent0da1d307d9456588ab2f7436a7ba6ced06fb6911
[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