On 8/16/21 10:32 AM, Ani Sinha wrote:
> Now that we have "acpi-pci-hotplug-with-bridge-support" PIIX4 PM property 
> being
> used for both q35 and i440fx machine types, it is better that we defined this
> property string at a single place within a header file like other PIIX4
> properties. We can then use this single definition at all the places that 
> needs
> it instead of duplicating the string everywhere. While at it, this change also
> adds a definition for "acpi-root-pci-hotplug" PIIX4 PM property and uses
> this definition at all places that were formally using the string value.
> 
> Signed-off-by: Ani Sinha <a...@anisinha.ca>
> ---
>  hw/acpi/ich9.c         | 2 +-
>  hw/acpi/piix4.c        | 4 ++--
>  hw/i386/acpi-build.c   | 4 ++--
>  hw/i386/pc.c           | 4 ++--
>  hw/i386/pc_q35.c       | 2 +-
>  include/hw/acpi/acpi.h | 2 ++
>  6 files changed, 10 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>


Reply via email to