]> xenbits.xensource.com Git - xen.git/commit
x86/HVM: fix failure path in hvm_vcpu_initialise
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Wed, 18 Sep 2013 12:45:24 +0000 (14:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Sep 2013 12:45:24 +0000 (14:45 +0200)
commit925fbcb7fdd6238f26b1576dc1f3e297f1f24f1e
tree9bd3d86bd973224f2241431b047ccf654b46ba91
parentcf59b4cd9f85631d4c38d6df05e7e432fca5a8f0
x86/HVM: fix failure path in hvm_vcpu_initialise

It looks like one of the failure cases in hvm_vcpu_initialise jumps to
the wrong label; this could lead to slow leaks if something isn't
cleaned up properly.

I will probably change these labels in a future patch, but I figured
it was better to have this fix separately.

This is also a candidate for backport.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
xen/arch/x86/hvm/hvm.c