commit | ac6c2bc592b90c7f140fc87c49e21bc82376e2aa | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Mon Feb 12 00:54:37 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Feb 12 09:48:40 2007 -0800 |
tree | eaba4f4f97f9bf17cc0a1abf07637abecca54195 | |
parent | 988ad74ff6107d9a490ee193e41251e27d37c95f [diff] |
[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>