virtio-net?

This is for discussing general topics about how to use VirtualBox.
Post Reply
memilanuk
Posts: 54
Joined: 1. Jul 2009, 18:16
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: openSuSE, Fedora, Ubuntu, CentOS
Location: Wenatchee, WA USA

virtio-net?

Post by memilanuk »

Hello,

I just upgraded from 3.0.12 to 3.1.0 and was in the process of setting up a new guest. I started exploring the new options and saw the para-virtualized network (virtio-net) option. I did some basic digging through the help and on the forum, and I'm not quite sure what to make of it.
...then VirtualBox does not virtualize common networking hardware (that is supported by common guest operating systems out of the box). Instead, VirtualBox then expects a special software interface for virtualized environments to be provided by the guest, thus avoiding the complexity of emulating networking hardware and improving network performance.
Does this mean that the guest can now access the physical hardware on the host? Specifically, does it mean that the guest can now 'see' a wifi adapter on the host as a wifi adapter, instead of as another ethernet NIC?

Thanks,

Monte
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: virtio-net?

Post by MarkCranness »

No, it just means that TCP/IP communication between the guest and host is more efficient because there is a direct hand-off of TCP/IP packets, rather than VirtualBox having to emulate a network card, with virtual interrupts, virtual ports, virtual DMA etc.
All that interrupt/port/DMA stuff wastes CPU cycles.
See: http://wiki.libvirt.org/page/Virtio
memilanuk
Posts: 54
Joined: 1. Jul 2009, 18:16
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: openSuSE, Fedora, Ubuntu, CentOS
Location: Wenatchee, WA USA

Re: virtio-net?

Post by memilanuk »

Ah. So... still no way to have a guest OS 'see' a wireless connection as just that... wireless? Specifically see the signal strength, test the encryption (WEP vs. WPA, etc.)?

Thanks,

Monte
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: virtio-net?

Post by MarkCranness »

No, no way for the guest to see a wireless connection as wireless.
memilanuk
Posts: 54
Joined: 1. Jul 2009, 18:16
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: openSuSE, Fedora, Ubuntu, CentOS
Location: Wenatchee, WA USA

Re: virtio-net?

Post by memilanuk »

Hmmm... well, it still works pretty doggone well otherwise. ;)

Thanks,

Monte
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: virtio-net?

Post by Technologov »

maybe if you have USB wireless adapter, then guest will see it as wireless...
Entity
Posts: 100
Joined: 31. Dec 2007, 19:28
Primary OS: Mandriva
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: xp,mandriva,ubuntu,vista,7

Re: virtio-net?

Post by Entity »

Yup. Usb wifi are ok, well, at least those that don't have usb compatibility problems. Last time I checked, no Zydas card would work on any guest/host, but rtl8187 was ok.
dagar
Posts: 11
Joined: 14. Aug 2007, 21:29

Re: virtio-net?

Post by dagar »

I have a centos 5.4 x86_64 guest and when I tried to change the the network type to virtio, the guest does not detect it. What changes to the guest did you have to do ?
Post Reply