acpi-pci-hotplug-stub.c (1205B)
1#include "qemu/osdep.h" 2#include "hw/acpi/pcihp.h" 3#include "migration/vmstate.h" 4 5const VMStateDescription vmstate_acpi_pcihp_pci_status; 6 7void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, PCIBus *root_bus, 8 MemoryRegion *address_space_io, bool bridges_enabled, 9 uint16_t io_base) 10{ 11 return; 12} 13 14void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, 15 DeviceState *dev, Error **errp) 16{ 17 return; 18} 19 20void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, 21 DeviceState *dev, Error **errp) 22{ 23 return; 24} 25 26void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, 27 DeviceState *dev, Error **errp) 28{ 29 return; 30} 31 32void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev, 33 AcpiPciHpState *s, DeviceState *dev, 34 Error **errp) 35{ 36 return; 37} 38 39void acpi_pcihp_reset(AcpiPciHpState *s, bool acpihp_root_off) 40{ 41 return; 42} 43 44bool vmstate_acpi_pcihp_use_acpi_index(void *opaque, int version_id) 45{ 46 return false; 47}