[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target/xtensa/cpu: Set owner of memory region i
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH] target/xtensa/cpu: Set owner of memory region in xtensa_cpu_initfn |
Date: |
Thu, 19 Jul 2018 19:35:58 -0700 |
On Thu, Jul 19, 2018 at 6:02 AM, Thomas Huth <address@hidden> wrote:
> The instance_init function of the xtensa CPUs creates a memory region,
> but does not set an owner, so the memory region is not destroyed
> correctly when the CPU object is removed. This can happen when
> introspecting the CPU devices, so introspecting the CPU device will
> leave a dangling memory region object in the QOM tree. Make sure to
> set the right owner here to fix this issue.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> target/xtensa/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Max Filippov <address@hidden>
--
Thanks.
-- Max