From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
To: jyoung5@us.ibm.com
Cc: kvm-devel <kvm-devel@lists.sourceforge.net>,
Edward D Doan <edwardd@us.ibm.com>
Subject: Re: What kernel options do I need to properly enable virtio net driver
Date: Tue, 22 Apr 2008 09:59:16 +0200 [thread overview]
Message-ID: <480D9AD4.2020708@linux.vnet.ibm.com> (raw)
In-Reply-To: <1208812941.12206.3.camel@thinkpadL>
Jerone Young wrote:
> virtio net device does not appear to show itself in the guest. I'm
> curious of what options I may be missing. Here is my config
>
> CONFIG_VIRTIO_NET=y
[..]
> CONFIG_VIRTUALIZATION=y
> CONFIG_KVM=y
> CONFIG_KVM_BOOKE_HOST=y
> CONFIG_VIRTIO=y
> CONFIG_VIRTIO_RING=y
> CONFIG_VIRTIO_PCI=y
That should be enough in .config, but be aware that you need the proper qemu command line like
"-net nic,model=virtio,macaddr=00:00:00:00:00:AA -net tap"
as well as a /etc/qemu-ifup script (I sent one for our purpose to kvm-ppc-devel a while ago)
+ you need some tools installed e.g. brctl
and you need to create /dev/net/tun in the host because we have no dynamic /dev.
If you have done all that already and it is still not working you should continue with anthonys
suggestion and send what lspci shows you. If you want to be complete use "lspci -vvvx"
And maybe it is worth to add debug to the kernel command line of the guest and attach a full dmesg
to the same response too, just in case someone might want to look at driver messages.
--
Grüsse / regards,
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
prev parent reply other threads:[~2008-04-22 7:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 21:22 What kernel options do I need to properly enable virtio net driver Jerone Young
2008-04-21 22:13 ` Anthony Liguori
2008-04-22 4:47 ` Jerone Young
2008-04-22 11:16 ` Avi Kivity
2008-04-22 13:34 ` Anthony Liguori
2008-04-23 8:08 ` Avi Kivity
2008-04-22 7:59 ` Christian Ehrhardt [this message]
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=480D9AD4.2020708@linux.vnet.ibm.com \
--to=ehrhardt@linux.vnet.ibm.com \
--cc=edwardd@us.ibm.com \
--cc=jyoung5@us.ibm.com \
--cc=kvm-devel@lists.sourceforge.net \
/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