> On 28-Mar-2023, at 5:46 PM, Igor Mammedov wrote:
>
> On Mon, 20 Mar 2023 16:59:02 +0530
> Ani Sinha wrote:
>
>> i440fx machine versions 2.3 and newer and q35 machines supports dynamic ram
>> resizing. Please see commit a1666142db6233 ("acpi-build: make ROMs RAM
>> blocks resizeable") .
>>
From: Ani Sinha
Get rid of the static variable that keeps track of whether hotplug has been
disabled on the root pci bus. Simply use qbus_is_hotpluggable() api to
perform the same check. This eliminates additional if conditional and
simplifies the function.
Signed-off-by: Ani Sinha
---
hw/acpi