| From: |
| Joerg Roedel <joerg.roedel@amd.com> |
| To: |
| Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com> |
| Subject: |
| [PATCH 0/29] Nested Paging Virtualization for KVM v4 |
| Date: |
| Fri, 10 Sep 2010 17:30:37 +0200 |
| Message-ID: |
| <1284132667-18620-1-git-send-email-joerg.roedel@amd.com> |
| Cc: |
| kvm@vger.kernel.org, linux-kernel@vger.kernel.org |
| Archive-link: |
| Article, Thread
|
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.
Thanks,
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/