Demo code to set up a VMMCP, including #c access
authorRon Minnich <rminnich@gmail.com>
Thu, 12 Mar 2015 20:55:12 +0000 (13:55 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 17 Mar 2015 14:55:59 +0000 (10:55 -0400)
commit12131135b6f065e0c1b74a80e34ee1c4c5a2c6fc
tree311640ec0243c6742f5f8736c1f12d10cbc6c98d
parent28ccac7ce5c07a9d40cb36eb62c8e8382155a609
Demo code to set up a VMMCP, including #c access

This correctly starts a VMMCP as an 'unrestricted guest'.

Next step is to handle the resulting EPT page fault, which exits the vm with
error 0x21.

(git-fu'd by brho)
kern/drivers/dev/cons.c
tests/vmmcp.c [new file with mode: 0644]