<div dir="ltr">Hi,<div><br></div><div>I ask about this before but don't get any answer...</div><div><br></div><div>How add new device/driver to Virtualbox?</div><div>Is there a someone who understand how PDM works?<br></div><div><br></div><div>I compile VBoxSampleDevice.cpp and add it to VirtualBox but system(ubunutu 14) don't show any new device.</div><div>To add dll to Virtualbox I use:</div><div>VBoxManage setextradata global VBoxInternal/PDM/Devices/[[1]]/Path g:\VirtualBox\out\win.amd64\release\obj\testingDevice\VBoxSampleDevice.dll<br></div><div><br></div><div>Also I try to add device using copy of Virtio device. I copy code of DevVirtioNet.cpp modify it (change some names), build dll and add to VirtualBox:</div><div>VBoxManage setextradata global VBoxInternal/PDM/Devices/[[3]]/Path g:\VirtualBox\out\win.amd64\release\obj\testingDevice\testingDevice.dll<br></div><div><br></div><div><div>But still nothing change in guest system.</div></div><div><br></div><div>In DevVirtioNet.cpp I found a lot of code which set a lot of parameters connected with PCI. I try understand this code but this take, a lot of time.</div><div><br></div><div>I also found that I have to set which driver will be use in system also in configuration of virtual machine. </div><div>I try to set net ethernet cart type but in VBoxManage I found code which allow using only build in drivers so I can't set "My" modified Virtio driver.</div><div><br></div><div><div>There is really no instruction or documentation how it's works?</div></div><div><br></div><div>I will be really gratefull for any help or instruction how add new device to VirtualBox.</div><div><br></div><div><br></div><div>Best regards,</div><div>Marcin</div></div>