|
@@ -675,7 +675,7 @@ void pc_machine_done(Notifier *notifier, void *data)
|
|
PCMachineState, machine_done);
|
|
PCMachineState, machine_done);
|
|
X86MachineState *x86ms = X86_MACHINE(pcms);
|
|
X86MachineState *x86ms = X86_MACHINE(pcms);
|
|
|
|
|
|
- cxl_hook_up_pxb_registers(pcms->bus, &pcms->cxl_devices_state,
|
|
|
|
|
|
+ cxl_hook_up_pxb_registers(pcms->pcibus, &pcms->cxl_devices_state,
|
|
&error_fatal);
|
|
&error_fatal);
|
|
|
|
|
|
if (pcms->cxl_devices_state.is_enabled) {
|
|
if (pcms->cxl_devices_state.is_enabled) {
|
|
@@ -685,7 +685,7 @@ void pc_machine_done(Notifier *notifier, void *data)
|
|
/* set the number of CPUs */
|
|
/* set the number of CPUs */
|
|
x86_rtc_set_cpus_count(x86ms->rtc, x86ms->boot_cpus);
|
|
x86_rtc_set_cpus_count(x86ms->rtc, x86ms->boot_cpus);
|
|
|
|
|
|
- fw_cfg_add_extra_pci_roots(pcms->bus, x86ms->fw_cfg);
|
|
|
|
|
|
+ fw_cfg_add_extra_pci_roots(pcms->pcibus, x86ms->fw_cfg);
|
|
|
|
|
|
acpi_setup();
|
|
acpi_setup();
|
|
if (x86ms->fw_cfg) {
|
|
if (x86ms->fw_cfg) {
|
|
@@ -1250,8 +1250,8 @@ void pc_basic_device_init(struct PCMachineState *pcms,
|
|
xen_evtchn_create(IOAPIC_NUM_PINS, gsi);
|
|
xen_evtchn_create(IOAPIC_NUM_PINS, gsi);
|
|
xen_gnttab_create();
|
|
xen_gnttab_create();
|
|
xen_xenstore_create();
|
|
xen_xenstore_create();
|
|
- if (pcms->bus) {
|
|
|
|
- pci_create_simple(pcms->bus, -1, "xen-platform");
|
|
|
|
|
|
+ if (pcms->pcibus) {
|
|
|
|
+ pci_create_simple(pcms->pcibus, -1, "xen-platform");
|
|
}
|
|
}
|
|
xen_bus_init();
|
|
xen_bus_init();
|
|
xen_be_init();
|
|
xen_be_init();
|