TUN networking - guest device missing
Hello,
I'm having trouble getting TUN networking to work in KVM - everything looks fine on host side, but I don't see any ne2k-pci device in the guest. When I use default (user) networking, I see ne2k-pci device in the guest, but I'd like to use TUN... I'm using fedora 6, 2.6.18-28.6 kernel, x86_64 on host, and 2.6.16, i686 on guest.
any suggestions on what I'm doing wrong??
thanks a lot in advance
BR
Nik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 20070111112118.GA26299-Q1hMHgS8kG8mnefyVReuhO3CNBr840j2@public.gmane.org
Quoted 6 lines · Nikola Ciprich
Hello,
I'm having trouble getting TUN networking to work in KVM - everything looks fine on host side, but I don't see any ne2k-pci device in the guest. When I use default (user) networking, I see ne2k-pci device in the guest, but I'd like to use TUN... I'm using fedora 6, 2.6.18-28.6 kernel,x86_64on host, and 2.6.16, i686 on guest.
any suggestions on what I'm doing wrong??
thanks a lot in advance
What does lspci say on the guest?
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 45A6239E.9060905-atKUWr5tajBWk0Htik3J/[email protected]
On 2007-01-11, Avi Kivity wrote:
eth device is missing in lspci output...
Quoted 12 lines
Quoted 10 lines · Nikola Ciprich
Hello,
I'm having trouble getting TUN networking to work in KVM - everything looks fine on host side, but I don't see any ne2k-pci device in the guest. When I use default (user) networking, I see ne2k-pci device in the guest, but I'd like to use TUN...
I'm using fedora 6, 2.6.18-28.6 kernel,x86_64on host, and 2.6.16, i686 on guest.
any suggestions on what I'm doing wrong??
thanks a lot in advance
Quoted 6 lines
What does lspci say on the guest?
Signature · 1 line
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 20070111115723.GA26924-Q1hMHgS8kG8mnefyVReuhO3CNBr840j2@public.gmane.org
Quoted 4 lines · Nikola Ciprich
On 2007-01-11, Avi Kivity wrote:
eth device is missing in lspci output...
What's your qemu command line?
Does it work with -no-kvm?
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 45A6251E.90809-atKUWr5tajBWk0Htik3J/[email protected]
Sorry, I should have already attached that information. cmdline is:
qemu-system-x86_64 \
-m 384 -no-acpi \
-hda vdisk.img \
-boot c \
-net tap,script=/etc/kvm/qemu-ifup/etc/kvm/qemu-ifup is:
#!/bin/sh
brctl addif br0 $1
exit 0
- I already have br0 defined, with eth0 as a member, IP address is set only for bridge...
I don't see device even with -no-kvm
I also noticed another strange thing - clock is running much faster in the guest system...
I'm using version 10 of KVM - should I give ver 11 a try?
Quoted 8 lines
What's your qemu command line?
Does it work with -no-kvm?
Signature · 1 line
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 20070111121744.GB26924-Q1hMHgS8kG8mnefyVReuhO3CNBr840j2@public.gmane.org
Quoted 9 lines · Nikola Ciprich
Sorry, I should have already attached that information. cmdline is:
qemu-system-x86_64 \ -m 384 -no-acpi \ -hda vdisk.img \ -boot c \ -net tap,script=/etc/kvm/qemu-ifup
Quoted 6 lines
/etc/kvm/qemu-ifupis:
#!/bin/sh
brctl addif br0 $1
exit 0
is it qemu-ifup executable?
Quoted 5 lines
- I already have br0 defined, with eth0 as a member, IP address is set only for bridge...
I don't see device even with -no-kvm
ok
Quoted 6 lines
I also noticed another strange thing - clock is running much faster in the guest system...
I'm using version 10 of KVM - should I give ver 11 a try?
shouldn't make a difference in this area.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Try Adding "-net nic" to the command line:
qemu-system-x86_64 \
-m 384 -no-acpi \
-hda vdisk.img \
-boot c \
-net nic \
-net tap,script=/etc/kvm/qemu-ifup
-----Original Message-----
From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org on behalf of Nikola Ciprich
Sent: Thu 11/01/2007 14:17
To: Avi Kivity
Cc: [email protected]
Subject: Re: [kvm-devel] TUN networking - guest device missing
Sorry, I should have already attached that information. cmdline is:
qemu-system-x86_64 \
-m 384 -no-acpi \
-hda vdisk.img \
-boot c \
-net tap,script=/etc/kvm/qemu-ifup/etc/kvm/qemu-ifup is:
#!/bin/sh
brctl addif br0 $1
exit 0
- I already have br0 defined, with eth0 as a member, IP address is set only for bridge...
I don't see device even with -no-kvm
I also noticed another strange thing - clock is running much faster in the guest system...
I'm using version 10 of KVM - should I give ver 11 a try?
Quoted 8 lines
What's your qemu command line?
Does it work with -no-kvm?
Signature · 1 line
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 64F9B87B6B770947A9F8391472E0321603496AFE-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/[email protected]
On 2007-01-11, Uri Lublin wrote:
then I see one interface....
if-up script is executable...
Quoted 9 lines
Try Adding "-net nic" to the command line:
qemu-system-x86_64 \ -m 384 -no-acpi \ -hda vdisk.img \ -boot c \ -net nic \ -net tap,script=/etc/kvm/qemu-ifup
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 3 lines
Hello,
I'm having trouble getting TUN networking to work in KVM - everything
looks
Quoted 1 line
fine on host side, but I don't see any ne2k-pci device in the guest.
When I
Quoted 1 line
use default (user) networking, I see ne2k-pci device in the guest, but
I'd
Quoted 2 lines
like to use TUN...
I'm using fedora 6, 2.6.18-28.6 kernel,x86_64on host, and 2.6.16,
i686 on
Quoted 5 lines
guest.
any suggestions on what I'm doing wrong??
thanks a lot in advance
BR
Nik
Can you please send your qemu command line.
You can check a working example by looking at the kvm python script + /scripts directory that contains an ifup script + a script to add a bridge.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV