Home
last modified time | relevance | path

Searched refs:hotplug_ctrl (Results 1 – 12 of 12) sorted by relevance

/qemu/hw/core/
A Dqdev-hotplug.c60 HotplugHandler *hotplug_ctrl = qdev_get_machine_hotplug_handler(dev); in qdev_get_hotplug_handler() local
62 if (hotplug_ctrl == NULL && dev->parent_bus) { in qdev_get_hotplug_handler()
63 hotplug_ctrl = qdev_get_bus_hotplug_handler(dev); in qdev_get_hotplug_handler()
65 return hotplug_ctrl; in qdev_get_hotplug_handler()
A Dqdev.c458 HotplugHandler *hotplug_ctrl; in device_set_realized() local
486 hotplug_ctrl = qdev_get_hotplug_handler(dev); in device_set_realized()
487 if (hotplug_ctrl) { in device_set_realized()
488 hotplug_handler_pre_plug(hotplug_ctrl, dev, &local_err); in device_set_realized()
551 if (hotplug_ctrl) { in device_set_realized()
552 hotplug_handler_plug(hotplug_ctrl, dev, &local_err); in device_set_realized()
/qemu/system/
A Dqdev-monitor.c907 HotplugHandler *hotplug_ctrl; in qdev_unplug() local
934 hotplug_ctrl = qdev_get_hotplug_handler(dev); in qdev_unplug()
937 g_assert(hotplug_ctrl); in qdev_unplug()
941 hdc = HOTPLUG_HANDLER_GET_CLASS(hotplug_ctrl); in qdev_unplug()
943 hotplug_handler_unplug_request(hotplug_ctrl, dev, &local_err); in qdev_unplug()
945 hotplug_handler_unplug(hotplug_ctrl, dev, &local_err); in qdev_unplug()
/qemu/hw/acpi/
A Dpcihp.c184 HotplugHandler *hotplug_ctrl; in acpi_pcihp_eject_slot() local
221 hotplug_ctrl = qdev_get_hotplug_handler(qdev); in acpi_pcihp_eject_slot()
222 hotplug_handler_unplug(hotplug_ctrl, qdev, &error_abort); in acpi_pcihp_eject_slot()
A Dmemory_hotplug.c122 HotplugHandler *hotplug_ctrl = NULL; in acpi_memory_hotplug_write() local
176 hotplug_ctrl = qdev_get_hotplug_handler(dev); in acpi_memory_hotplug_write()
178 hotplug_handler_unplug(hotplug_ctrl, dev, &local_err); in acpi_memory_hotplug_write()
A Dcpu.c135 HotplugHandler *hotplug_ctrl = NULL; in cpu_hotplug_wr() local
144 hotplug_ctrl = qdev_get_hotplug_handler(dev); in cpu_hotplug_wr()
145 hotplug_handler_unplug(hotplug_ctrl, dev, NULL); in cpu_hotplug_wr()
/qemu/hw/s390x/
A Ds390-pci-bus.c156 HotplugHandler *hotplug_ctrl; in s390_pci_perform_unplug() local
166 hotplug_ctrl = qdev_get_hotplug_handler(pdev); in s390_pci_perform_unplug()
167 hotplug_handler_unplug(hotplug_ctrl, pdev, &error_abort); in s390_pci_perform_unplug()
172 hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(pbdev)); in s390_pci_perform_unplug()
173 hotplug_handler_unplug(hotplug_ctrl, DEVICE(pbdev), &error_abort); in s390_pci_perform_unplug()
/qemu/hw/pci/
A Dshpc.c274 HotplugHandler *hotplug_ctrl; in shpc_free_devices_in_slot() local
282 hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(affected_dev)); in shpc_free_devices_in_slot()
283 hotplug_handler_unplug(hotplug_ctrl, DEVICE(affected_dev), in shpc_free_devices_in_slot()
A Dpcie.c579 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(dev)); in pcie_unplug_device() local
585 hotplug_handler_unplug(hotplug_ctrl, DEVICE(dev), &error_abort); in pcie_unplug_device()
/qemu/hw/net/
A Dvirtio-net.c3493 HotplugHandler *hotplug_ctrl; in failover_unplug_primary() local
3497 hotplug_ctrl = qdev_get_hotplug_handler(dev); in failover_unplug_primary()
3498 if (hotplug_ctrl) { in failover_unplug_primary()
3501 hotplug_handler_unplug_request(hotplug_ctrl, dev, &err); in failover_unplug_primary()
3516 HotplugHandler *hotplug_ctrl; in failover_replug_primary() local
3530 hotplug_ctrl = qdev_get_hotplug_handler(dev); in failover_replug_primary()
3531 if (hotplug_ctrl) { in failover_replug_primary()
3532 hotplug_handler_pre_plug(hotplug_ctrl, dev, &err); in failover_replug_primary()
3536 hotplug_handler_plug(hotplug_ctrl, dev, &err); in failover_replug_primary()
/qemu/hw/ppc/
A Dspapr.c3750 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_lmb_release() local
3751 SpaprMachineState *spapr = SPAPR_MACHINE(hotplug_ctrl); in spapr_lmb_release()
3771 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_lmb_release()
3842 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_core_release() local
3845 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_core_release()
4126 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_phb_release() local
4128 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_phb_release()
A Dspapr_pci.c1458 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_phb_remove_pci_device_cb() local
1460 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_phb_remove_pci_device_cb()

Completed in 58 milliseconds