|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v3 01/11] hw/i386/pc: Use qdev_prop_set_array() |
Date: | Thu, 9 Nov 2023 20:11:30 +0100 |
User-agent: | Mozilla Thunderbird |
On 9/11/23 18:42, Kevin Wolf wrote:
Instead of manually setting "foo-len" and "foo[i]" properties, build a QList and use the new qdev_prop_set_array() helper to set the whole array property with a single call. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> --- hw/i386/pc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |