x86/HVM: Fix teardown ordering in hvm_vcpu_destroy()
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tue, 10 Jan 2017 14:03:02 +0000 (08:03 -0600)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Jan 2017 17:25:09 +0000 (17:25 +0000)
commitffc103c223a6d12e5221f66b7e96396a61ba1b20
treecbdedb82b268dbe47a1d4e3030e8c5fd67e1993d
parente83ff50a55fd2349886860cf0f23f597605943d7
x86/HVM: Fix teardown ordering in hvm_vcpu_destroy()

The order of destroy function calls in hvm_vcpu_destroy() should be
the reverse of init calls in hvm_vcpu_initialise().

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
[ Fix up tasklet_kill() position ]
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c