[libvirt-users] hotplug

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

Hi, I am using libvirt version 0.9.13 with Ubuntu 12.10 When I try to start a VM with an openvswitch bridge interface I get the error: error: Failed to start domain kvm113-2 error: Unable to add port vnet1 to OVS bridge ovsbr: Operation not permitted Here is my bridge configuration: <interface type='bridge'> <mac address='52:54:00:c7:db:d2'/> <source bridge='ovsbr'/> <virtualport type='openvswitch'> <parameters interfaceid='40e21558-217c-d8ef-c9a9-5275fa4b4a46'/> </virtualport> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> This configuration previously worked fine. Request your help and insights. WIth best regards Radhika

Sorry about reusing an unrelated subject line. Please ignore. On Fri, Nov 2, 2012 at 5:24 PM, Radhika Niranjan <radhika@cs.ucsd.edu>wrote:
Hi,
I am using libvirt version 0.9.13 with Ubuntu 12.10
When I try to start a VM with an openvswitch bridge interface I get the error:
error: Failed to start domain kvm113-2 error: Unable to add port vnet1 to OVS bridge ovsbr: Operation not permitted
Here is my bridge configuration: <interface type='bridge'> <mac address='52:54:00:c7:db:d2'/> <source bridge='ovsbr'/> <virtualport type='openvswitch'> <parameters interfaceid='40e21558-217c-d8ef-c9a9-5275fa4b4a46'/> </virtualport> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface>
This configuration previously worked fine.
Request your help and insights.
WIth best regards Radhika
participants (2)
-
Douglas Russell
-
Radhika Niranjan