|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PULL 08/34] hw/arm/virt: Let the virtio-iommu bypass MSIs |
Date: | Thu, 2 Feb 2023 12:07:33 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
On 2/2/23 11:58, Peter Maydell wrote:
On Thu, 2 Feb 2023 at 10:47, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:Where is "len-reserved-regions" declared?DEFINE_PROP_ARRAY("reserved-regions", ...) does this. For an array property "foo" the machinery creates an integer property "foo-len", which must be set first. Setting that then creates properties "foo[0]", "foo[1]", ... which can be set.
Oh indeed now I see the array prefix: #define PROP_ARRAY_LEN_PREFIX "len-" Not obvious to realize while grepping. Thanks for the quick answer!
[Prev in Thread] | Current Thread | [Next in Thread] |