[vbox-dev] How to add a new network device

Robert Zeljko robertzeljko at yahoo.com
Thu May 3 02:46:15 GMT 2007

Ah, I was just about to send another e-mail when I got your response.
I was about to ask the question you already answered and that is do I need to
enable my new device somehow.
Now I know how.
Thanks for you help!
Much appreciated.

-- robert

--- "Knut St. Osmundsen" <bird at innotek.de> wrote:

> Robert Zeljko wrote:
> > Hello,
> > 
> > I'm having some difficulties adding a new network device to the VirtualBox.
> > My attempt is based on existing device implemented in the
> > .../Network/DevPCNet.cpp.
> > I've updated the Devices/Makefile and added my device in there.
> > I've also updated Devices/Builtins.cpp to register my new device.
> > I can compile it and run it but my new network device never gets
> constructed.
> > What am I missing?
> You need to configure the device for the VM which you wish to use it in. 
> There are two ways of doing this:
> - you modify Console::configConstructor() in 
> src/VBox/Main/ConsoleImpl.cpp so that is uses your NIC instead of pcnet.
> - or, you use VBoxManage setextradata some-vm-name "VBoxInternal/..." 
> "value" to inject the necessary configuration data (take a look at the 
> CFGM dump in a ~/.VirtualBox/Machines/some-vm-name/VBox.log for seeing 
> what's needed and later checking what's actually inserted).
> Kind Regards,
>   knut
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev

More information about the vbox-dev mailing list