Re: [PATCH-for-7.0] target/i386/hvf: Free ressources when vCPU is destroyed

2022-03-24 Thread Igor Mammedov
On Tue, 22 Mar 2022 20:07:45 +0100 Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé > > Both xsave_buf and hvf_caps are allocated in hvf_arch_init_vcpu(), > free them in hvf_arch_vcpu_destroy(). > > Reported-by: Mark Kanda > Suggested-by: Igor Mammedov > Signed-off-by: Philippe M

Re: [PATCH-for-7.0] target/i386/hvf: Free ressources when vCPU is destroyed

2022-03-23 Thread Philippe Mathieu-Daudé
Typo s/ressources/resources/ in subject. On 22/3/22 20:07, Philippe Mathieu-Daudé wrote: From: Philippe Mathieu-Daudé Both xsave_buf and hvf_caps are allocated in hvf_arch_init_vcpu(), free them in hvf_arch_vcpu_destroy(). Reported-by: Mark Kanda Suggested-by: Igor Mammedov Signed-off-by: P

[PATCH-for-7.0] target/i386/hvf: Free ressources when vCPU is destroyed

2022-03-22 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé Both xsave_buf and hvf_caps are allocated in hvf_arch_init_vcpu(), free them in hvf_arch_vcpu_destroy(). Reported-by: Mark Kanda Suggested-by: Igor Mammedov Signed-off-by: Philippe Mathieu-Daudé --- target/i386/hvf/hvf.c | 2 ++ 1 file changed, 2 insertions(+) d