]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kvm: Fix mmu going crazy of guest sets cr0.wp == 0
authorAvi Kivity <avi@qumranet.com>
Mon, 12 Feb 2007 08:54:37 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:40 +0000 (09:48 -0800)
commit4b5e31dfd7b4eeaf246f8b942407212490fb65fb
treeeaba4f4f97f9bf17cc0a1abf07637abecca54195
parent165114a449d498a17d381308a96a29aac1fcd35e
[PATCH] kvm: Fix mmu going crazy of guest sets cr0.wp == 0

The kvm mmu relies on cr0.wp being set even if the guest does not set it.  The
vmx code correctly forces cr0.wp at all times, the svm code does not, so it
can't boot solaris without this patch.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/svm.c