Track the guest physical address used for VMs
authorRonald G. Minnich <rminnich@google.com>
Fri, 14 Feb 2014 23:32:42 +0000 (15:32 -0800)
committerRonald G. Minnich <rminnich@google.com>
Fri, 14 Feb 2014 23:32:42 +0000 (15:32 -0800)
commitb6658093c34be08fbbfbb5a81f436b2eea32d358
treefb0126c195ac043724ef5e3a7c8a21cd32dd109d
parent7b1bc19314cdb7c18d4e1bfbfd5f479b5a1c4630
Track the guest physical address used for VMs

It's pretty trivial to just track the guest pa in the
page struct, and it greatly simplifies VM code.

The alternatives are all ugly, as many of the extant VMs
out there show. We own this kernel, might as well make it easy.

pg_private was likely overcommited so I went this route.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/include/page_alloc.h