Re: [PATCH v3 5/5] i386/cpu: Free env->xsave_buf in KVM and HVF destory_vcpu_thread routines

2022-03-22 Thread Philippe Mathieu-Daudé
On 21/3/22 23:08, Philippe Mathieu-Daudé wrote: On 21/3/22 23:04, Philippe Mathieu-Daudé wrote: On 21/3/22 15:14, Mark Kanda wrote: Create KVM and HVF specific destory_vcpu_thread() routines to free Typo "destroy" env->xsave_buf. vCPU hotunplug related leak reported by Valgrind:

Re: [PATCH v3 5/5] i386/cpu: Free env->xsave_buf in KVM and HVF destory_vcpu_thread routines

2022-03-21 Thread Philippe Mathieu-Daudé
On 21/3/22 23:04, Philippe Mathieu-Daudé wrote: On 21/3/22 15:14, Mark Kanda wrote: Create KVM and HVF specific destory_vcpu_thread() routines to free Typo "destroy" env->xsave_buf. vCPU hotunplug related leak reported by Valgrind: ==132362== 4,096 bytes in 1 blocks are definitely lost in

Re: [PATCH v3 5/5] i386/cpu: Free env->xsave_buf in KVM and HVF destory_vcpu_thread routines

2022-03-21 Thread Philippe Mathieu-Daudé
On 21/3/22 15:14, Mark Kanda wrote: Create KVM and HVF specific destory_vcpu_thread() routines to free Typo "destroy" env->xsave_buf. vCPU hotunplug related leak reported by Valgrind: ==132362== 4,096 bytes in 1 blocks are definitely lost in loss record 8,440 of 8,549 ==132362==at

[PATCH v3 5/5] i386/cpu: Free env->xsave_buf in KVM and HVF destory_vcpu_thread routines

2022-03-21 Thread Mark Kanda
Create KVM and HVF specific destory_vcpu_thread() routines to free env->xsave_buf. vCPU hotunplug related leak reported by Valgrind: ==132362== 4,096 bytes in 1 blocks are definitely lost in loss record 8,440 of 8,549 ==132362==at 0x4C3B15F: memalign (vg_replace_malloc.c:1265) ==132362==