qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net hot


From: Gonglei (Arei)
Subject: Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net hot plug/unplug exceed two times
Date: Tue, 6 May 2014 14:08:01 +0000



Hi,

> -----Original Message-----
> From: Andreas Färber [mailto:address@hidden
> Sent: Tuesday, May 06, 2014 9:58 PM
> To: Gonglei (Arei)
> Cc: Markus Armbruster; Hani Benhabiles; Peter Maydell; Paolo Bonzini;
> Michael S. Tsirkin; address@hidden
> Subject: Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net
> hot plug/unplug exceed two times
> 
> Am 06.05.2014 15:41, schrieb Gonglei (Arei):
> >>
> >> Am 06.05.2014 14:52, schrieb Gonglei (Arei):
> >>> Step 1: I executed "device_add virtio-net-pci,id=net1"
> >>> with "info pci", I found the net1, showing as below:
> >>> Bus  0, device   4, function 0:
> >>>     Ethernet controller: PCI device 1af4:1000
> >>>       IRQ 0.
> >>>       BAR0: I/O at 0xffffffffffffffff [0x001e].
> >>>       BAR1: 32 bit memory at 0xffffffffffffffff [0x00000ffe].
> >>>       BAR6: 32 bit memory at 0xffffffffffffffff [0x0003fffe].
> >>>       id "net1"
> >>> Step 2: I executed " device_del net1", but the net1 still existed.
> >>>
> >>>> In QMP, you get a DEVICE_DELETED event when the unplug completes.
> >> See
> >>>> qmp/qmp-events.txt.
> >>> Actually, I don't get the event, as the net1 can't be unplug.
> >>>
> >>> BTW, when I execute step 1 "device_add virtio-net-pci,id=net1", I don't 
> >>> find
> >> the
> >>> Ethernet controller of virtio-net by "lspci " in the guest OS.
> >>> TBH, the command execution failed despite we can see net1 with "info
> pci".
> >>
> >> Sounds like the acpiphp kernel module is not loaded inside the guest?
> >>
> > OMG, thank you so much. Good catch.
> 
> In that case check your /etc/modprobe.conf file in the SLES guest. From
> at least SLES 11 SP2 on you should have an entry like this (here SP3):
> 
> alias dmi:bvnQEMU:bvrQEMU:* acpiphp
> 
> The exact values changed between SeaBIOS versions at some point.
> 
Yes, I find the entry in /etc/modprobe.conf file. But I don't understand it:

# QEMU/KVM can handle ACPI Hotplugging
alias dmi:bvnQEMU:bvrQEMU:* acpiphp

Why not the SLSE OS auto load the acpiphp module when it's booting?

Best regards,
-Gonglei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]