]> xenbits.xensource.com Git - people/royger/xen.git/commit
x86/msr: Free msr_vcpu_policy during vcpu destruction
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 4 Jan 2018 13:27:38 +0000 (14:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Jan 2018 13:27:38 +0000 (14:27 +0100)
commite204e60f77702bf5c884dd37c3f1b01f14e396ae
treef9e9aaa242625f2ee7bd1ca0855b018009a53b2d
parentf98689c6cd6b0d04e7a02c24ce08591216f910ab
x86/msr: Free msr_vcpu_policy during vcpu destruction

c/s 4187f79dc7 "x86/msr: introduce struct msr_vcpu_policy" introduced a
per-vcpu memory allocation, but failed to free it in the clean vcpu
destruction case.

This is XSA-253.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c