On 09/10/2010 06:30 PM, Joerg Roedel wrote:
Hi Avi, Marcelo, as promised here is -v4 of my patch-set for virtualizing nested paging in KVM. I addresses all of your review comments in this version and fixed a misbehavior in the nested page-walker code where it would have reported the wrong error-code on an emulated nested page fault. Here is the complete list of changes: * Fixed the bug in the gpa_to_gfn function * Made sure that the right fault values are kept in the two-dimensional page-table walker * Fixed the return code of x86_decode_insn so that a page-fault within that function can be handled * Set vcpu->arch.mmu.direct_map to true for nonpaging mode too * Changed code so that the right access-mode is used on nested page-table walks * Made the NX mode a capability of the MMU context to distinguish between l1-nx and l2-nx (1 additional patch) * Fixed the bug that KVM always reports the SVM flag as supported to userspace, it should only be reported on AMD hardware when nesting is enabled As the patch-set before this one was tested with the same set of combinations too. I found no regressions to current avi/master. This patch-set applies on current avi/master plus the three fixes I sent last week. As with the last version of the patch-set I also pushed this one to a tree on korg. Find it in git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-kvm.git npt-virt-v4 Please review these patches and/or apply them :-) As usual I appreciate your feedback.
All applied, thanks. I'll go play with my new toy now. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html