I'm trying to achieve hotplugging of memory in KVM guests by following this tutorial: Memory hotplug with Qemu/KVM and libvirt.
I managed to complete it but nothing happens. The tutorial tells me that I need kernel version 3.9 or higher, and I am running 4.8. It also states that I need modules acpiphp and pci_hotplug. Googling results told me that I just needed to run (on the guest):
for m in acpiphp pci_hotplug; do sudo modprobe ${m}; done
However, this results in the following erroneous output:
modprobe: FATAL: Module acpiphp not found in directory /lib/modules/4.8.0-39-generic
modprobe: FATAL: Module pci_hotplug not found in directory /lib/modules/4.8.0-39-generic
This question seems similar to Ask Ubuntu: PCI hotplug doesn't seem to work where solution also states that I need acpiphp and pci_hotplug, so I'm pretty confident I need these modules.
Question
How do I install acpiphp and pci_hotplug on an Ubuntu 16.04 for my KVM guest?