nestedsvm: fix interrupt handling
authorChristoph Egger <Christoph.Egger@amd.com>
Fri, 31 Aug 2012 20:15:31 +0000 (21:15 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Fri, 31 Aug 2012 20:15:31 +0000 (21:15 +0100)
commit5fdfc1eedd92bc5358ee3b6e63efb0d60fb835c4
tree831e4ddf99bbff34f1519153eff695213071bbe2
parentd6a43bb25d1ea2a478eda4222916e5b491894c53
nestedsvm: fix interrupt handling

Give the l2 guest a chance to finish the delivery of the last injected
interrupt or exception before we emulate a VMEXIT.
For example after a NPF handled by the host there can be an interrupt
for the l1 guest.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/svm/nestedsvm.c