qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] hw/i386/pc: Have pc_init_isa() pass a NULL pci_type argu


From: Bernhard Beschow
Subject: Re: [PATCH 4/4] hw/i386/pc: Have pc_init_isa() pass a NULL pci_type argument
Date: Sat, 02 Mar 2024 10:03:50 +0000


Am 1. März 2024 18:59:36 UTC schrieb "Philippe Mathieu-Daudé" 
<philmd@linaro.org>:
>The "isapc" machine only provides an ISA bus, not a PCI one,
>and doesn't instanciate any i440FX south bridge.
>Its machine class defines PCMachineClass::pci_enabled = false,
>and pc_init1() only uses the pci_type argument when pci_enabled
>is true. Since for this machine the argument is not used,
>passing NULL makes more sense.
>
>Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Bernhard Beschow <shentey@gmail.com>



reply via email to

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