[Lguest] [PATCH v2 0/3] introduction

Matias Zabaljauregui zabaljauregui at gmail.com
Mon Sep 29 14:38:59 EST 2008


Hello all,

Here is the non line-wrapped version, now that I've read "Documentation/email-clients.txt". Sorry for the little mess.

This bisectable series of patches implements PAE and PSE support for lguest.
The guest page tables initialization code is moved to the host, so we
can use the same launcher when PAE is enabled.

There are some issues I'd like to mention:

[PATCH 1/3]
* When I moved the PT init code to the host I realized I needed a way to get the guest phys memory size and initrd size. I got them from the boot
header. Is this correct?

[PATCH 2/3]
* The hypercalls "set_*" still use 32 bit arguments, and we need 64 bit for full PAE PT entries.
IIRC,  the guest cannot have more than 2,5 gb (or so) of phys memory, so it shouldn't be a problem right now.
Rusty has been wanting to change over to using kvm-style hypercalls, which would fix this issue.
I'll start working on this as soon as possible.

[PATCH 3/3]
* There is some "duplicated" code for implementing the PAE version.
This seems to be an extra motivation to start a refactoring of page_tables.c to make it portable.
This is already on my to do list.


Any corrections, ideas or comments are welcomed.

regards






More information about the Lguest mailing list