[pve-devel] qemu-server : don't unplug nic on update

Alexandre DERUMIER aderumier at odiso.com
Fri Feb 22 09:33:40 CET 2013


Do you have my today patch ?  ("don't unplug nic on update")

It should fix it.

The problem was that on update, I tried to unplug then plug network card.
As your guest don't have hotplug acpi modules, the unplug fail.




----- Mail original ----- 

De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
À: "Alexandre Derumier" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 22 Février 2013 09:04:01 
Objet: Re: [pve-devel] qemu-server : don't unplug nic on update 

Hi, 

yes current git code isn't usable for me anymore. 

The dmesg output looks like this and then the network is and stays offline. 

[61836.877654] pci 0000:00:12.0: [1af4:1000] type 00 class 0x020000 
[61836.877732] pci 0000:00:12.0: reg 10: [io 0x0000-0x001f] 
[61836.877775] pci 0000:00:12.0: reg 14: [mem 0x00000000-0x00000fff] 
[61836.877936] pci 0000:00:12.0: reg 30: [mem 0x00000000-0x0000ffff pref] 
[61836.878384] pci 0000:00:12.0: BAR 6: assigned [mem 
0xe0000000-0xe000ffff pref] 
[61836.880794] pci 0000:00:12.0: BAR 1: assigned [mem 0xe0010000-0xe0010fff] 
[61836.881863] pci 0000:00:12.0: BAR 0: assigned [io 0x1000-0x101f] 
[61836.882813] pci 0000:00:00.0: no hotplug settings from platform 
[61836.883748] pci 0000:00:00.0: using default PCI settings 
[61836.884732] pci 0000:00:01.0: no hotplug settings from platform 
[61836.885645] pci 0000:00:01.0: using default PCI settings 
[61836.886615] ata_piix 0000:00:01.1: no hotplug settings from platform 
[61836.887564] ata_piix 0000:00:01.1: using default PCI settings 
[61836.888562] piix4_smbus 0000:00:01.3: no hotplug settings from platform 
[61836.889518] piix4_smbus 0000:00:01.3: using default PCI settings 
[61836.890501] pci 0000:00:02.0: no hotplug settings from platform 
[61836.891453] pci 0000:00:02.0: using default PCI settings 
[61836.892442] virtio-pci 0000:00:03.0: no hotplug settings from platform 
[61836.893366] virtio-pci 0000:00:03.0: using default PCI settings 
[61836.894307] virtio-pci 0000:00:05.0: no hotplug settings from platform 
[61836.895198] virtio-pci 0000:00:05.0: using default PCI settings 
[61836.896140] uhci_hcd 0000:00:1d.0: no hotplug settings from platform 
[61836.897017] uhci_hcd 0000:00:1d.0: using default PCI settings 
[61836.897909] uhci_hcd 0000:00:1d.1: no hotplug settings from platform 
[61836.898764] uhci_hcd 0000:00:1d.1: using default PCI settings 
[61836.899631] uhci_hcd 0000:00:1d.2: no hotplug settings from platform 
[61836.900477] uhci_hcd 0000:00:1d.2: using default PCI settings 
[61836.901319] ehci_hcd 0000:00:1d.7: no hotplug settings from platform 
[61836.902128] ehci_hcd 0000:00:1d.7: using default PCI settings 
[61836.902962] pci 0000:00:12.0: no hotplug settings from platform 
[61836.903767] pci 0000:00:12.0: using default PCI settings 
[61836.904939] virtio-pci 0000:00:12.0: enabling device (0000 -> 0003) 
[61836.909459] virtio-pci 0000:00:12.0: setting latency timer to 64 
[61836.910047] virtio-pci 0000:00:12.0: irq 44 for MSI/MSI-X 
[61836.910064] virtio-pci 0000:00:12.0: irq 45 for MSI/MSI-X 
[61836.910078] virtio-pci 0000:00:12.0: irq 46 for MSI/MSI-X 

Stefan 

Am 22.02.2013 06:07, schrieb Alexandre Derumier: 
> don't unplug/plug nic on update, 
> Stefan report an hang here. (maybe a race condition?) 
> 
> It was here to allow change vlan in live, but I think it can be done with move tap from bridge. 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 



More information about the pve-devel mailing list