Run a VM.
authorRonald G. Minnich <rminnich@google.com>
Mon, 10 Feb 2014 21:36:50 +0000 (13:36 -0800)
committerRonald G. Minnich <rminnich@google.com>
Mon, 10 Feb 2014 21:36:50 +0000 (13:36 -0800)
commit57e1a6e9dd1906dcdd3b13e72ffa3016062a2e0d
treea7cbe1c860b3d959e0d0180ea50dbb77479b7a67
parenta8ba2021167177fa6e9a91fac3ab84252d27c7ea
Run a VM.

This set of changes, along with the runvm script,
let you run a vm.

To tell it's running: run /runvm script and hit return
a LOT. At some point you'll see a message like
GO FOR IT!

If you look at the RIP that gets printed out, you'll see
it's 0000fffe, which means it ran all the xorl instructions
and hit the infinite loop.

I'll be removing all this printk stuff when things are further along.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/arch/x86/vmx.c
kern/arch/x86/vmx_mmu.c
kern/drivers/dev/vm.c
kern/kfs/bin/POR1M [new file with mode: 0644]
kern/kfs/bin/xorljmp1b.bin [new file with mode: 0644]
kern/kfs/runvm