Sorry to ask the question, but I've Googled and Googled, and just cannot find out how to set up VirtIO networking drivers in my 64-bit CentOS 5.2 (Linux 2.6.18) guest so that I can set the VM interfaces to "virtio" and have it work. If someone could please just point me to a document, or just tell me where I find the VirtIO drivers (are they already present in CentOS 5? Are they ISO's or RPM's somewhere? Downloaded separately or part of some larger package like KVM?), I would really appreciate it. Thanks....
UP
How do I set up VirtIO drivers in Centos 5.2?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How do I set up VirtIO drivers in Centos 5.2?
http://www.linux-kvm.org/page/Virtio
This question should be asked in the CentOS forums so you have the proper answer of what to do and how.
This question should be asked in the CentOS forums so you have the proper answer of what to do and how.
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: How do I set up VirtIO drivers in Centos 5.2?
yes, set the adapter to virtio-net if you wantUglyPercy wrote:or just tell me where I find the VirtIO drivers (are they already present in CentOS 5?
Code: Select all
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet Hardware Adresse xx:xx:xx:xx:xx:xx
inet Adresse:___.___._.___ Bcast:___.___._.___ Maske:255.255.255.0
inet6 Adresse: ????::???:????:????:????/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2087 errors:0 dropped:0 overruns:0 frame:0
TX packets:1344 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:2707309 (2.5 MiB) TX bytes:160969 (157.1 KiB)
[root@localhost ~]# lsmod|grep virt
virtio_net 47297 0
virtio_pci 41545 0
virtio_ring 37441 1 virtio_pci
virtio 39365 2 virtio_net,virtio_pci-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: How do I set up VirtIO drivers in Centos 5.2?
JFTR just switched my CentOS 4.8 to virtio-net
Code: Select all
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-89.0.23.EL #1 Wed Mar 17 06:22:05 EDT 2010 i686 i686 i386 GNU/Linux
[root@localhost ~]# lsmod|grep virt
virtio_net 10945 0
virtio_pci 8385 0
virtio_ring 4033 1 virtio_pci
virtio 5445 2 virtio_net,virtio_pci-
UglyPercy
- Posts: 16
- Joined: 29. Apr 2010, 09:20
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: CentOS 4
Re: How do I set up VirtIO drivers in Centos 5.2?
Well, one issue is pretty easy to resolve, once you know it: I didn't have KVM installed, and apparently VirtIO is considered part of KVM....
UP
UP
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: How do I set up VirtIO drivers in Centos 5.2?
i dont have KVM installed either, its the kernel modules of the standard (edit: backports patched by RHEL...) kernel ...UglyPercy wrote:I didn't have KVM installed,