VMM: Add kernel support for VM contexts [1/2]
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 2 Feb 2016 16:58:24 +0000 (11:58 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 2 Feb 2016 22:43:52 +0000 (17:43 -0500)
commit86fc3a0ec90d1d55290f5b3872a7466fe863631a
treee6b51807e632aaac5317291caef372271fc234be
parente896c00cb3f6a56046b045659ff44d2fb5eaeca1
VMM: Add kernel support for VM contexts [1/2]

The kernel now knows how to pop VM contexts and handle VM exits.

As of this commit, we're still using the old KVM loop.  The HOST_RIP on
resume is still set to use the old KVM loop, IPI injection still uses the
vmctl, and userspace does not ask it to use contexts.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/process64.c
kern/arch/x86/trap.c
kern/arch/x86/trap64.h
kern/arch/x86/trapentry64.S
user/pthread/pthread.c