[linux-kvm][PATCH 1/4] UBUNTU: kvm: [config] Enable PCI Hotplug

Kamal Mostafa kamal at canonical.com
Tue Feb 27 18:36:58 UTC 2018


From: Julio Montes <julio.montes at intel.com>

BugLink: http://bugs.launchpad.net/bugs/1752147

In Kata Containers block devices and others are hot-added to the container

Next configs are needed to support this feature:
* CONFIG_HOTPLUG_PCI_ACPI
* CONFIG_HOTPLUG_PCI
* CONFIG_PCIEASPM_DEFAULT
* CONFIG_PCIEASPM
* CONFIG_HOTPLUG_PCI_PCIE
* CONFIG_PCIEAER
* CONFIG_HOTPLUG_PCI_SHPC

Signed-off-by: Julio Montes <julio.montes at intel.com>
Signed-off-by: Samuel Ortiz <sameo at linux.intel.com>
---
 debian.kvm/config/config.common.ubuntu | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 9d3a313..ea6045d 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -762,7 +762,8 @@ CONFIG_HOTPLUG_PCI=y
 CONFIG_HOTPLUG_PCI_ACPI=y
 # CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
 # CONFIG_HOTPLUG_PCI_CPCI is not set
-# CONFIG_HOTPLUG_PCI_SHPC is not set
+CONFIG_HOTPLUG_PCI_PCIE=y
+CONFIG_HOTPLUG_PCI_SHPC=y
 # CONFIG_HPET is not set
 CONFIG_HPET_TIMER=y
 CONFIG_HPFS_FS=m
@@ -1534,7 +1535,15 @@ CONFIG_PARAVIRT_SPINLOCKS=y
 # CONFIG_PARTITION_ADVANCED is not set
 # CONFIG_PCCARD is not set
 CONFIG_PCI=y
-# CONFIG_PCIEPORTBUS is not set
+CONFIG_PCIEAER=y
+# CONFIG_PCIEAER_INJECT is not set
+CONFIG_PCIEASPM=y
+# CONFIG_PCIEASPM_DEBUG is not set
+CONFIG_PCIEASPM_DEFAULT=y
+# CONFIG_PCIEASPM_PERFORMANCE is not set
+# CONFIG_PCIEASPM_POWERSAVE is not set
+CONFIG_PCIEPORTBUS=y
+# CONFIG_PCIE_ECRC is not set
 CONFIG_PCI_BUS_ADDR_T_64BIT=y
 # CONFIG_PCI_CNB20LE_QUIRK is not set
 # CONFIG_PCI_DEBUG is not set
@@ -1624,7 +1633,7 @@ CONFIG_RAID6_PQ=m
 CONFIG_RANDOMIZE_BASE=y
 CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x40000000
 # CONFIG_RAPIDIO is not set
-# CONFIG_RAS is not set
+CONFIG_RAS=y
 # CONFIG_RAW_DRIVER is not set
 # CONFIG_RBTREE_TEST is not set
 CONFIG_RCU_CPU_STALL_TIMEOUT=21
-- 
2.7.4





More information about the kernel-team mailing list