Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:C
xen
5a4e2bca-x86-free-msr_vcpu_policy-during-destru...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5a4e2bca-x86-free-msr_vcpu_policy-during-destruction.patch of Package xen
# Commit e204e60f77702bf5c884dd37c3f1b01f14e396ae # Date 2018-01-04 14:27:38 +0100 # Author Andrew Cooper <andrew.cooper3@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> 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> --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -382,6 +382,9 @@ void vcpu_destroy(struct vcpu *v) vcpu_destroy_fpu(v); + xfree(v->arch.msr); + v->arch.msr = NULL; + if ( !is_idle_domain(v->domain) ) vpmu_destroy(v);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor