Hi Marcin,
maybe this thread helps you with infos about PDM: http://comments.gmane.org/gmane.comp.emulators.virtualbox.devel/5658 Regards, Thomas Von: Marcin K [mailto:sofcik.k...@gmail.com] Gesendet: Donnerstag, 25. Juni 2015 10:57 An: vbox-dev@virtualbox.org Betreff: [vbox-dev] How add device or driver (PDM) to VirtualBox Hi, I ask about this before but don't get any answer... How add new device/driver to Virtualbox? Is there a someone who understand how PDM works? I compile VBoxSampleDevice.cpp and add it to VirtualBox but system(ubunutu 14) don't show any new device. To add dll to Virtualbox I use: VBoxManage setextradata global VBoxInternal/PDM/Devices/[[1]]/Path g:\VirtualBox\out\win.amd64\release\obj\testingDevice\VBoxSampleDevice.dll 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: VBoxManage setextradata global VBoxInternal/PDM/Devices/[[3]]/Path g:\VirtualBox\out\win.amd64\release\obj\testingDevice\testingDevice.dll But still nothing change in guest system. 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. I also found that I have to set which driver will be use in system also in configuration of virtual machine. 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. There is really no instruction or documentation how it's works? I will be really gratefull for any help or instruction how add new device to VirtualBox. Best regards, Marcin ------------------------------------------------------------------------------------------------------ Registergericht: Traunstein / Registry Court: HRB 275 - Sitz / Head Office: Traunreut Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard Geschäftsführung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman), Michael Grimm, Hubert Ermer E-Mail Haftungsausschluss / E-Mail Disclaimer: http://www.heidenhain.de/disclaimer
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev