a0a49813f7
Override the device hotplug handler to properly handle the memory device part via virtio-pmem-pci callbacks from the machine hotplug handler and forward to the actual PCI bus hotplug handler. As PCI hotplug has not been properly factored out into hotplug handlers, most magic is performed in the (un)realize functions. Also some PCI host buses don't have a PCI hotplug handler at all yet, just to be sure that we alway have a hotplug handler on x86, add a simple error check. Unlocking virtio-pmem will unlock virtio-pmem-pci. Signed-off-by: David Hildenbrand <david@redhat.com> [ Disable virtio-pmem hotunplug ] Signed-off-by: Pankaj Gupta <pagupta@redhat.com> Message-Id: <20190619094907.10131-8-pagupta@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
103 lines
1.7 KiB
Plaintext
103 lines
1.7 KiB
Plaintext
config SEV
|
|
bool
|
|
depends on KVM
|
|
|
|
config PC
|
|
bool
|
|
imply APPLESMC
|
|
imply HYPERV
|
|
imply ISA_IPMI_KCS
|
|
imply ISA_IPMI_BT
|
|
imply ISA_DEBUG
|
|
imply PARALLEL
|
|
imply PCI_DEVICES
|
|
imply PVPANIC
|
|
imply QXL
|
|
imply SEV
|
|
imply SGA
|
|
imply TEST_DEVICES
|
|
imply TPM_CRB
|
|
imply TPM_TIS
|
|
imply VGA_PCI
|
|
imply VIRTIO_VGA
|
|
select FDC
|
|
select I8259
|
|
select I8254
|
|
select PCKBD
|
|
select PCSPK
|
|
select I8257
|
|
select MC146818RTC
|
|
# For ACPI builder:
|
|
select SERIAL_ISA
|
|
select ACPI_VMGENID
|
|
select VIRTIO_PMEM_SUPPORTED
|
|
|
|
config PC_PCI
|
|
bool
|
|
select APIC
|
|
select IOAPIC
|
|
select APM
|
|
select PC
|
|
|
|
config PC_ACPI
|
|
bool
|
|
select ACPI_X86
|
|
select ACPI_CPU_HOTPLUG
|
|
select ACPI_MEMORY_HOTPLUG
|
|
select SMBUS_EEPROM
|
|
select PFLASH_CFI01
|
|
depends on ACPI_SMBUS
|
|
|
|
config I440FX
|
|
bool
|
|
imply E1000_PCI
|
|
select PC_PCI
|
|
select PC_ACPI
|
|
select ACPI_SMBUS
|
|
select PCI_PIIX
|
|
select IDE_PIIX
|
|
select DIMM
|
|
select SMBIOS
|
|
select VMPORT
|
|
select VMMOUSE
|
|
select FW_CFG_DMA
|
|
|
|
config ISAPC
|
|
bool
|
|
select ISA_BUS
|
|
select PC
|
|
select IDE_ISA
|
|
select VGA_ISA
|
|
# FIXME: it is in the same file as i440fx, and does not compile
|
|
# if separated
|
|
depends on I440FX
|
|
|
|
config Q35
|
|
bool
|
|
imply VTD
|
|
imply AMD_IOMMU
|
|
imply E1000E_PCI_EXPRESS
|
|
select PC_PCI
|
|
select PC_ACPI
|
|
select PCI_EXPRESS_Q35
|
|
select LPC_ICH9
|
|
select AHCI_ICH9
|
|
select DIMM
|
|
select SMBIOS
|
|
select VMPORT
|
|
select VMMOUSE
|
|
select FW_CFG_DMA
|
|
|
|
config VTD
|
|
bool
|
|
|
|
config AMD_IOMMU
|
|
bool
|
|
|
|
config VMPORT
|
|
bool
|
|
|
|
config VMMOUSE
|
|
bool
|
|
depends on VMPORT
|