How to author and configure a virtual PCI-device using PDM?
Posted: 19. Dec 2011, 11:33
Hi,
on Linux, we have a virtual PCI-Device and the corresponding driver for it. We obtained this device from our external partner, let's say Mydevice.so and corresponding source code. It has been recognized by VirtualBox and worked very well. It was authored and installed using PDM (Pluggable Device Manager) of VirtualBox.
Our task is to author another virtual PCI-Device with very small modification, such that we can see 2 PCI-devices in the "Device Manager" window. Since the driver has multiple-user and multiple-device capability, it can be used for both PCI-devices.
Our problems are:
1. we don't have enough information to understand how PDM works. (we tried to copy the original source code and make another Mydevice_another.so, but it can not be identified by the VirtualBox, we can only see our original device in "Device Manager")
2. what configuration steps are needed to install a PDM device? (we tried to delete Mydevice.so, but when we start VirtualBox, it says that "can't find "Mydevice.so"". There should be somewhere to store the additional device information. I thought all of the *.so files in the out/linux.x86/releases directory will be scaned automatically to know what devices this machine has, but it is not the case.)
Any helps or any comments are very welcome, thanks in advance.
/Kai
on Linux, we have a virtual PCI-Device and the corresponding driver for it. We obtained this device from our external partner, let's say Mydevice.so and corresponding source code. It has been recognized by VirtualBox and worked very well. It was authored and installed using PDM (Pluggable Device Manager) of VirtualBox.
Our task is to author another virtual PCI-Device with very small modification, such that we can see 2 PCI-devices in the "Device Manager" window. Since the driver has multiple-user and multiple-device capability, it can be used for both PCI-devices.
Our problems are:
1. we don't have enough information to understand how PDM works. (we tried to copy the original source code and make another Mydevice_another.so, but it can not be identified by the VirtualBox, we can only see our original device in "Device Manager")
2. what configuration steps are needed to install a PDM device? (we tried to delete Mydevice.so, but when we start VirtualBox, it says that "can't find "Mydevice.so"". There should be somewhere to store the additional device information. I thought all of the *.so files in the out/linux.x86/releases directory will be scaned automatically to know what devices this machine has, but it is not the case.)
Any helps or any comments are very welcome, thanks in advance.
/Kai