Re: [PATCH 0/12] Nested SVM cleanups

From: Avi Kivity
Date: Wed Jul 29 2009 - 10:04:10 EST


On 07/29/2009 04:58 PM, Joerg Roedel wrote:
On Wed, Jul 29, 2009 at 04:59:48PM +0300, Avi Kivity wrote:
On 07/29/2009 04:48 PM, Joerg Roedel wrote:
Performance isn't too bad even without this. At least if the host
supports nested paging :) But shadow nested paging should give nested
svm a real boost, thats very true.
Well, any workload that benefits from npt would benefit from nnpt a
lot more.

Most complicated part will be the two dimensional software page walker.
That will be a somewhat intrusive change (at least if I do it without
code duplication). But lets see how challenging this will become...

I think if you change the memory accessors to go through kvm_read_guest_virt() again, you'll get it almost for free. You'll need to supply a context so the accessors know which level you're accessing.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/