From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Subject: Re: What kernel options do I need to properly enable virtio net driver Date: Tue, 22 Apr 2008 09:59:16 +0200 Message-ID: <480D9AD4.2020708@linux.vnet.ibm.com> References: <1208812941.12206.3.camel@thinkpadL> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel , Edward D Doan To: jyoung5@us.ibm.com Return-path: In-Reply-To: <1208812941.12206.3.camel@thinkpadL> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org 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=3Dy [..] > CONFIG_VIRTUALIZATION=3Dy > CONFIG_KVM=3Dy > CONFIG_KVM_BOOKE_HOST=3Dy > CONFIG_VIRTIO=3Dy > CONFIG_VIRTIO_RING=3Dy > CONFIG_VIRTIO_PCI=3Dy = That should be enough in .config, but be aware that you need the proper qem= u command line like = "-net nic,model=3Dvirtio,macaddr=3D00:00:00:00:00:AA -net tap" as well as a /etc/qemu-ifup script (I sent one for our purpose to kvm-ppc-d= evel 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 co= ntinue with anthonys suggestion and send what lspci shows you. If you want to be complete use "l= spci -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=FCsse / 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/java= one