KVM: x86: make double/triple fault promotion generic to all exceptions
authorEddie Dong <eddie.dong@intel.com>
Thu, 19 Nov 2009 15:54:07 +0000 (17:54 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:38 +0000 (12:35 -0300)
commit3fd28fce765632d0fe46b31f63c0e7a7ec6c6b79
tree0f73abea5061ce2d0c9a7fe744ac0cf4e882d687
parent30ff056c42c665b9ea535d8515890857ae382540
KVM: x86: make double/triple fault promotion generic to all exceptions

Move Double-Fault generation logic out of page fault
exception generating function to cover more generic case.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c