KVM: SVM: Add VMEXIT handler and intercepts
authorAlexander Graf <agraf@suse.de>
Tue, 25 Nov 2008 19:17:08 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:47 +0000 (11:02 +0200)
commitcf74a78b229d07f77416d2fe1f029f183a8a31df
tree599fc27129e035c606814e91d4f88d142cf8bea0
parent3d6368ef580a4dff012960834bba4e28d3c1430c
KVM: SVM: Add VMEXIT handler and intercepts

This adds the #VMEXIT intercept, so we return to the level 1 guest
when something happens in the level 2 guest that should return to
the level 1 guest.

v2 implements HIF handling and cleans up exception interception
v3 adds support for V_INTR_MASKING_MASK
v4 uses the host page hsave
v5 removes IOPM merging code
v6 moves mmu code out of the atomic section

Acked-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c