From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjkMF-0007CA-DS for qemu-devel@nongnu.org; Mon, 12 May 2014 03:09:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjkM9-0006Vq-Tw for qemu-devel@nongnu.org; Mon, 12 May 2014 03:09:07 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46276 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjkM9-0006Vk-Og for qemu-devel@nongnu.org; Mon, 12 May 2014 03:09:01 -0400 Message-ID: <5370738A.60503@suse.de> Date: Mon, 12 May 2014 09:08:58 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <33183CC9F5247A488A2544077AF19020815E2DF1@SZXEMA503-MBS.china.huawei.com> <535BA2E4.4040202@redhat.com> <33183CC9F5247A488A2544077AF19020815E2FE4@SZXEMA503-MBS.china.huawei.com> <20140430000103.GA7429@Inspiron-3521> <33183CC9F5247A488A2544077AF19020815E5FB6@SZXEMA503-MBS.china.huawei.com> <87d2fr1bnu.fsf@blackfin.pond.sub.org> <33183CC9F5247A488A2544077AF19020815E61A2@SZXEMA503-MBS.china.huawei.com> <5368E566.7070900@suse.de> <33183CC9F5247A488A2544077AF19020815E6272@SZXEMA503-MBS.china.huawei.com> <5368EA6C.5080902@suse.de> <33183CC9F5247A488A2544077AF19020815E62A1@SZXEMA503-MBS.china.huawei.com> <5368F971.7080602@suse.de> In-Reply-To: <5368F971.7080602@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net hot plug/unplug exceed two times List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gonglei (Arei)" Cc: "qemu-devel@nongnu.org" Am 06.05.2014 17:02, schrieb Andreas F=E4rber: > Am 06.05.2014 16:08, schrieb Gonglei (Arei): >>> -----Original Message----- >>> From: Andreas F=E4rber [mailto:afaerber@suse.de] >>> Sent: Tuesday, May 06, 2014 9:58 PM >>> To: Gonglei (Arei) >>> Cc: Markus Armbruster; Hani Benhabiles; Peter Maydell; Paolo Bonzini; >>> Michael S. Tsirkin; qemu-devel@nongnu.org >>> Subject: Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support vir= tio-net >>> hot plug/unplug exceed two times >>> >>>>> Sounds like the acpiphp kernel module is not loaded inside the gues= t? >>>>> >>>> OMG, thank you so much. Good catch. >>> >>> In that case check your /etc/modprobe.conf file in the SLES guest. Fr= om >>> 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 understa= nd 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? >=20 > This entry is what's supposed to trigger the auto-load on our KVM. :) >=20 > Like I said above, it depends on the (Sea)BIOS, and you can verify your > values by running >=20 > udevadm monitor --property >=20 > and while it's monitoring, running >=20 > udevadm trigger >=20 > On a recent QEMU I then see >=20 > KERNEL[761.415335] change /devices/virtual/dmi/id (dmi) > ACTION=3Dchange > DEVPATH=3D/devices/virtual/dmi/id > MODALIAS=3Ddmi:bvnBochs:bvrBochs;bd01/01/2011:svnQEMU:pnStandardPC(i440= FX+PIIX,1996):pvrpc-i440fx-2.0:cvnBochs:ct1:cvr: > SEQNUM=3D2896 > SUBSYSTEM=3Ddmi >=20 > So with the SeaBIOS blob from qemu.git, >=20 > alias dmi:bvnBochs:bvrBochs:* acpiphp >=20 > would be needed. Once you add it to modprobe.conf I would expect the > next `udevadm trigger` (or reboot) to auto-load the module again. SLES 11 SP2 kernels since 2012 (https://bugzilla.novell.com/show_bug.cgi?id=3D754391) and SP3 should not need the modprobe.conf entry for "Bochs", since the DMI match was added to the module itself. So it sounds as if the kernel package is not up-to-date? If you do see this problem with a fully-updated SLES guest (kernel-* and module-init-tools packages), please let us know. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg