mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/i386/pc: Rename "bus" attribute to "pcibus"
The attribute is of type PCIBus; reflect that in the name. It will also make the next change more intuitive. Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-ID: <20240224135851.100361-3-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
b6718da464
commit
b54a9d46a0
9 changed files with 14 additions and 14 deletions
|
@ -216,7 +216,7 @@ static void pc_init1(MachineState *machine,
|
|||
pci_bus_map_irqs(pci_bus,
|
||||
xen_enabled() ? xen_pci_slot_get_pirq
|
||||
: pc_pci_slot_get_pirq);
|
||||
pcms->bus = pci_bus;
|
||||
pcms->pcibus = pci_bus;
|
||||
|
||||
hole64_size = object_property_get_uint(phb,
|
||||
PCI_HOST_PROP_PCI_HOLE64_SIZE,
|
||||
|
@ -480,8 +480,8 @@ static void pc_xen_hvm_init(MachineState *machine)
|
|||
}
|
||||
|
||||
pc_xen_hvm_init_pci(machine);
|
||||
xen_igd_reserve_slot(pcms->bus);
|
||||
pci_create_simple(pcms->bus, -1, "xen-platform");
|
||||
xen_igd_reserve_slot(pcms->pcibus);
|
||||
pci_create_simple(pcms->pcibus, -1, "xen-platform");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue