Browse Source

include: move hw/hotplug.h to hw/core/

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
pull/316/head
Paolo Bonzini 9 months ago
parent
commit
02b7f04702
  1. 2
      hw/acpi/acpi-nvdimm-stub.c
  2. 2
      hw/acpi/piix4.c
  3. 2
      hw/core/hotplug.c
  4. 2
      hw/pci-bridge/pci_bridge_dev.c
  5. 2
      hw/pci/pci.c
  6. 2
      hw/pci/pcie_port.c
  7. 2
      hw/s390x/css-bridge.c
  8. 2
      include/hw/acpi/cpu.h
  9. 2
      include/hw/acpi/cpu_hotplug.h
  10. 2
      include/hw/acpi/pcihp.h
  11. 0
      include/hw/core/hotplug.h
  12. 2
      include/hw/i386/pc.h
  13. 2
      include/hw/pci/pcie.h
  14. 2
      include/hw/pci/shpc.h
  15. 2
      include/hw/qdev-core.h

2
hw/acpi/acpi-nvdimm-stub.c

@ -1,6 +1,6 @@
#include "qemu/osdep.h"
#include "hw/mem/nvdimm.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev)
{

2
hw/acpi/piix4.c

@ -35,7 +35,7 @@
#include "qemu/range.h"
#include "hw/acpi/cpu_hotplug.h"
#include "hw/acpi/cpu.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/mem/pc-dimm.h"
#include "hw/mem/nvdimm.h"
#include "hw/acpi/memory_hotplug.h"

2
hw/core/hotplug.c

@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "qemu/module.h"
void hotplug_handler_pre_plug(HotplugHandler *plug_handler,

2
hw/pci-bridge/pci_bridge_dev.c

@ -30,7 +30,7 @@
#include "hw/qdev-properties.h"
#include "system/memory.h"
#include "hw/pci/pci_bus.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "qom/object.h"
#define TYPE_PCI_BRIDGE_DEV "pci-bridge"

2
hw/pci/pci.c

@ -45,7 +45,7 @@
#include "trace.h"
#include "hw/pci/msi.h"
#include "hw/pci/msix.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/core/boards.h"
#include "hw/nvram/fw_cfg.h"
#include "qapi/error.h"

2
hw/pci/pcie_port.c

@ -22,7 +22,7 @@
#include "hw/pci/pcie_port.h"
#include "hw/qdev-properties.h"
#include "qemu/module.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
void pcie_port_init_reg(PCIDevice *d)
{

2
hw/s390x/css-bridge.c

@ -12,7 +12,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/qdev-properties.h"
#include "hw/sysbus.h"
#include "qemu/bitops.h"

2
include/hw/acpi/cpu.h

@ -17,7 +17,7 @@
#include "hw/acpi/acpi.h"
#include "hw/acpi/aml-build.h"
#include "hw/core/boards.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#define ACPI_CPU_HOTPLUG_REG_LEN 12

2
include/hw/acpi/cpu_hotplug.h

@ -16,7 +16,7 @@
#include "hw/acpi/acpi.h"
#include "hw/acpi/pc-hotplug.h"
#include "hw/acpi/aml-build.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/acpi/cpu.h"
typedef struct AcpiCpuHotplug {

2
include/hw/acpi/pcihp.h

@ -29,7 +29,7 @@
#include "hw/acpi/acpi.h"
#include "hw/acpi/aml-build.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#define ACPI_PCIHP_IO_BASE_PROP "acpi-pcihp-io-base"
#define ACPI_PCIHP_IO_LEN_PROP "acpi-pcihp-io-len"

0
include/hw/hotplug.h → include/hw/core/hotplug.h

2
include/hw/i386/pc.h

@ -9,7 +9,7 @@
#include "hw/block/flash.h"
#include "hw/i386/x86.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "qom/object.h"
#include "hw/i386/sgx-epc.h"
#include "hw/cxl/cxl.h"

2
include/hw/pci/pcie.h

@ -25,7 +25,7 @@
#include "hw/pci/pcie_regs.h"
#include "hw/pci/pcie_aer.h"
#include "hw/pci/pcie_sriov.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
typedef struct PCIEPort PCIEPort;
typedef struct PCIESlot PCIESlot;

2
include/hw/pci/shpc.h

@ -2,7 +2,7 @@
#define SHPC_H
#include "system/memory.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/pci/pci_device.h"
#include "migration/vmstate.h"

2
include/hw/qdev-core.h

@ -7,7 +7,7 @@
#include "qemu/rcu.h"
#include "qemu/rcu_queue.h"
#include "qom/object.h"
#include "hw/hotplug.h"
#include "hw/core/hotplug.h"
#include "hw/resettable.h"
/**

Loading…
Cancel
Save