From: Jerone Y. <jy...@us...> - 2008-04-21 21:24:33
Attachments:
.config.GUEST
|
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 |
From: Anthony L. <an...@co...> - 2008-04-21 22:13:20
|
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 You'll have to be more specific about what "does not appear to show itself" means. What's the output of lspci? Regards, Anthony Liguori > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------ > > _______________________________________________ > kvm-devel mailing list > kvm...@li... > https://lists.sourceforge.net/lists/listinfo/kvm-devel |
From: Jerone Y. <jy...@us...> - 2008-04-22 04:47:46
|
What I am asking is do I have all the proper options in my kernel config set to use it? On Mon, 2008-04-21 at 17:13 -0500, Anthony Liguori wrote: > 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 > > You'll have to be more specific about what "does not appear to show > itself" means. What's the output of lspci? > > Regards, > > Anthony Liguori > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > 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 > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > kvm-devel mailing list > > kvm...@li... > > https://lists.sourceforge.net/lists/listinfo/kvm-devel > |
From: Avi K. <av...@qu...> - 2008-04-22 11:16:35
|
Jerone Young wrote: > What I am asking is do I have all the proper options in my kernel config > set to use it? > > I have: [avi@cleopatra linux-2.6 (kvm-updates-2.6.26)]$ grep VIRTIO .config CONFIG_VIRTIO_BLK=m CONFIG_VIRTIO_NET=m CONFIG_VIRTIO=m CONFIG_VIRTIO_RING=m CONFIG_VIRTIO_PCI=m CONFIG_VIRTIO_BALLOON=m -- error compiling committee.c: too many arguments to function |
From: Anthony L. <an...@co...> - 2008-04-22 13:34:50
|
Jerone Young wrote: > What I am asking is do I have all the proper options in my kernel config > set to use it? > Yes. You just need CONFIG_VIRTIO_NET and CONFIG_VIRTIO_PCI. The remaining options will be automatically selected. Regards, Anthony Liguori > On Mon, 2008-04-21 at 17:13 -0500, Anthony Liguori wrote: > >> 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 >>> >> You'll have to be more specific about what "does not appear to show >> itself" means. What's the output of lspci? >> >> Regards, >> >> Anthony Liguori >> >> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> 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 >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> kvm-devel mailing list >>> kvm...@li... >>> https://lists.sourceforge.net/lists/listinfo/kvm-devel >>> > > |
From: Avi K. <av...@qu...> - 2008-04-23 08:12:27
|
Anthony Liguori wrote: > Jerone Young wrote: > >> What I am asking is do I have all the proper options in my kernel config >> set to use it? >> >> > > Yes. You just need CONFIG_VIRTIO_NET and CONFIG_VIRTIO_PCI. The > remaining options will be automatically selected. > > We should make VIRTIO_NET (and _BLK) select VIRTIO_PCI if PCI. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. |
From: Christian E. <ehr...@li...> - 2008-04-22 11:11:13
|
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 |