[libvirt-users] hotplug

Douglas Russell root at dpwrussell.com
Wed Oct 31 11:40:40 UTC 2012


Another separate thread for a slightly separate issue.

For some reason, hotplugging disks does not work for me.

I built my guest with ubuntu's vmbuilder. It's Precise, virtual.

I have acpiphp in my /etc/modules file:

$ lsmod
Module                  Size  Used by
psmouse                97443  0
serio_raw              13211  0
virtio_balloon         13108  0
acpiphp                24231  0
floppy                 70365  0

hotplug_pci seems to be compiled into the kernel:

$ grep HOTPLUG_PCI /boot/config-3.2.0-32-virtual
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m

But when I attach a disk, absolutely nothing happens in the guest. No
messages in the logs, no change to /proc/partitions, no new device nodes.
When I reboot, the disk appears.

Any ideas?

Thanks,

Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121031/039b03f9/attachment.htm>


More information about the libvirt-users mailing list