Skip to contentSkip to conversation

FYI: fixing Vista networking with rtl8139 + KVM

DISCUSSION Daniel P. Berrange 4 participants 6 messages Sep 27, 2007 4 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

http://www.mail-archive.com/[email protected]/msg11365.html

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

Signature · 9 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Daniel P. Berrange

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

Quoted 8 lines

http://www.mail-archive.com/[email protected]/msg11365.html

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

does this means that in general use the ne2k driver is a better choice? anyway is there a suggested network driver for the guests?

Signature · 6 lines
  Levente                               "Si vis pacem para bellum!"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 14 lines · Farkas Levente
Quoted 12 lines · Daniel P. Berrange

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

http://www.mail-archive.com/[email protected]/msg11365.html

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Quoted 10 lines
Quoted 5 lines

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

does this means that in general use the ne2k driver is a better choice? anyway is there a suggested network driver for the guests?

No, it means I need to merge qemu-cvs.

rtl8139 performs faster than ne2000.

Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): 46FB7A0E.3080801-atKUWr5tajBWk0Htik3J/[email protected]

#6 lore raw
Quoted 20 lines · Avi Kivity
Quoted 19 lines · Farkas Levente
Quoted 17 lines · Daniel P. Berrange

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

http://www.mail-archive.com/[email protected]/msg11365.html

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

Quoted 8 lines
Quoted 4 lines

does this means that in general use the ne2k driver is a better choice? anyway is there a suggested network driver for the guests?

No, it means I need to merge qemu-cvs.

rtl8139 performs faster than ne2000.

But adding CRC computing in RTL839 should have some impacts on performance.

Laurent

Signature · 2 lines
------------- Laurent.Vivier-6ktuUTfB/[email protected]  --------------
          "Software is hard" - Donald Knuth

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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): 46FB7AB0.20301-6ktuUTfB/[email protected]

#8 lore raw
Quoted 30 lines · Laurent Vivier
Quoted 28 lines · Avi Kivity
Quoted 26 lines · Farkas Levente
Quoted 8 lines · Daniel P. Berrange

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

Quoted 10 lines

http://www.mail-archive.com/[email protected]/msg11365.html

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

does this means that in general use the ne2k driver is a better choice? anyway is there a suggested network driver for the guests?

Quoted 8 lines
Quoted 4 lines

No, it means I need to merge qemu-cvs.

rtl8139 performs faster than ne2000.

But adding CRC computing in RTL839 should have some impacts on performance.

It's probably negligible since the copy has placed the packet in the cache.

Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#9 lore raw
In reply to a message not in the archive
Quoted 11 lines · Farkas Levente
Quoted 10 lines · Daniel P. Berrange

A Fedora user reported that Vista networking isn't working with KVM[1] and pointed to the Wiki

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

FYI, a patch from Xen was merged into upstream QEMU to fix this problem with rtl8139 a week or two back and works nicely with KVM+Vista...

http://www.mail-archive.com/[email protected]/msg11365.html

Quoted 8 lines
Quoted 6 lines

..avoiding need for messing around with ne2k drivers as mentioned in the wiki

Regards,
Dan.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=308201

does this means that in general use the ne2k driver is a better choice?

No, ne2k is an awful choice. It has worse performance than rtl8139 and does not do link state reporting so things like network manager won't be able to automatically configure the NIC in a guest. rtl8139 is the preferred choice and in Fedora we have patched Xen, QEMU & KVM so they use rtl8139 by default

Dan.

Signature · 9 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/