qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 01/40] qdev: Don't always force the global property array


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH 01/40] qdev: Don't always force the global property array non-null
Date: Thu, 5 Jan 2023 22:56:40 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 3/1/23 19:16, Richard Henderson wrote:
Only qdev_prop_register_global requires a non-null array.
The other instances can simply exit early.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  hw/core/qdev-properties.c | 43 ++++++++++++++++++++++++---------------
  1 file changed, 27 insertions(+), 16 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]