From: "Andreas Färber" <afaerber@suse.de>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net hot plug/unplug exceed two times
Date: Mon, 12 May 2014 09:08:58 +0200 [thread overview]
Message-ID: <5370738A.60503@suse.de> (raw)
In-Reply-To: <5368F971.7080602@suse.de>
Am 06.05.2014 17:02, schrieb Andreas Färber:
> Am 06.05.2014 16:08, schrieb Gonglei (Arei):
>>> -----Original Message-----
>>> From: Andreas Färber [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 virtio-net
>>> hot plug/unplug exceed two times
>>>
>>>>> 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?
>
> This entry is what's supposed to trigger the auto-load on our KVM. :)
>
> Like I said above, it depends on the (Sea)BIOS, and you can verify your
> values by running
>
> udevadm monitor --property
>
> and while it's monitoring, running
>
> udevadm trigger
>
> On a recent QEMU I then see
>
> KERNEL[761.415335] change /devices/virtual/dmi/id (dmi)
> ACTION=change
> DEVPATH=/devices/virtual/dmi/id
> MODALIAS=dmi:bvnBochs:bvrBochs;bd01/01/2011:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.0:cvnBochs:ct1:cvr:
> SEQNUM=2896
> SUBSYSTEM=dmi
>
> So with the SeaBIOS blob from qemu.git,
>
> alias dmi:bvnBochs:bvrBochs:* acpiphp
>
> 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=754391) 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
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2014-05-12 7:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <33183CC9F5247A488A2544077AF19020815E2DF1@SZXEMA503-MBS.china.huawei.com>
[not found] ` <535BA2E4.4040202@redhat.com>
[not found] ` <33183CC9F5247A488A2544077AF19020815E2FE4@SZXEMA503-MBS.china.huawei.com>
[not found] ` <20140430000103.GA7429@Inspiron-3521>
2014-05-06 8:04 ` [Qemu-devel] [Crucial bug] Qemu-2.0.0 do not support virtio-net hot plug/unplug exceed two times Gonglei (Arei)
2014-05-06 9:47 ` Markus Armbruster
2014-05-06 12:52 ` Gonglei (Arei)
2014-05-06 13:36 ` Andreas Färber
2014-05-06 13:41 ` Gonglei (Arei)
2014-05-06 13:58 ` Andreas Färber
2014-05-06 14:08 ` Gonglei (Arei)
2014-05-06 15:02 ` Andreas Färber
2014-05-12 7:08 ` Andreas Färber [this message]
2014-05-12 8:06 ` Gonglei (Arei)
2014-05-12 8:54 ` Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5370738A.60503@suse.de \
--to=afaerber@suse.de \
--cc=arei.gonglei@huawei.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).