[virt-tools-list] virsh and attach-device

Richard W.M. Jones rjones at redhat.com
Sat Oct 16 14:31:40 UTC 2010


On Sat, Oct 16, 2010 at 10:11:48AM +0200, Grant Williamson wrote:
> Le Fri, Oct 15, 2010 at 03:50:37PM +0200, Guido Günther ecrivait :
> > You need to have the pci hotplug modules loaded:
> >
> > 	http://www.linux-kvm.org/page/Hotadd_pci_devices
>
> I do not see either of those modules in Fedora 13 or Fedora 14.
> Do I need to build them?

No, because they are compiled directly into the kernel (note the
"...=y" entries in the list below):

$ grep -i hotplug /boot/config-2.6.35.6-39.fc14.x86_64 
CONFIG_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_HOTPLUG_MEMORY=m
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=y
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_HOTPLUG_PCI_CPCI is not set
CONFIG_HOTPLUG_PCI_SHPC=m

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the virt-tools-list mailing list