Re: [PATCH 3/13] KVM: kvm data structures

From: Arnd Bergmann
Date: Fri Oct 27 2006 - 03:39:52 EST


On Friday 27 October 2006 07:53, Avi Kivity wrote:
> > Assuming that you move to the host-user == guest-real memory
> > model, will this data structure still be needed? It would
> > be really nice if a guest could simply consist of a number
> > of vcpu structures that happen to be used from threads in the
> > same process address space, but I find it hard to tell if
> > that is realistic.
> > Â
>
> We'd still need the shadow page table data structures (or the nested
> page tables pgd).

One hack around this would be to have the shadow page tables hang
off the mm_context_t, automatically allocated when a task first
calls runs kvm. Don't know if that's worthwhile doing, considering
that it's rather ugly.

Arnd <><
-
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/