nestedsvm: fix VMEXIT emulation
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 23 Oct 2012 07:14:27 +0000 (09:14 +0200)
committerChristoph Egger <Christoph.Egger@amd.com>
Tue, 23 Oct 2012 07:14:27 +0000 (09:14 +0200)
commitac4687564180b1caab108e6e36b5f54e89a981d5
treede1d35910eb54173d6bbffdc53591f385680b390
parent54c0bb27e5ce61acabe9af578469d87adab9c2af
nestedsvm: fix VMEXIT emulation

Values in regs can be newer than those in the shadow vmcb (e.g. due to
an instruction emulation right before). So use the values from regs.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/svm/nestedsvm.c