nestedsvm: fix memory leak on shutdown/crash
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 23 Oct 2012 07:13:27 +0000 (09:13 +0200)
committerChristoph Egger <Christoph.Egger@amd.com>
Tue, 23 Oct 2012 07:13:27 +0000 (09:13 +0200)
commit54c0bb27e5ce61acabe9af578469d87adab9c2af
tree910a9d14a533984e265389a8bd47684c8c4b79c5
parent4244c50c16746b14c6353999ff543e0ec1b64ee5
nestedsvm: fix memory leak on shutdown/crash

Fix memory leak of l1 vmcb page when destroying a vcpu while l2 guest
is running.

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