Page 1 of 1

how to create a custom pdm forward virtio-net to host

Posted: 10. Feb 2015, 12:32
by 绝世痞子
I'm new to virtualbox. I want to create a pdm in windows. The pdm while forward some virtio-net from Guest to host.
Is there a guide? or a example.

Re: how to create a custom pdm forward virtio-net to host

Posted: 10. Feb 2015, 16:14
by frank
What is your exact intention? Do you want to implement a custom device on the host side or do you want to implement some device driver at the guest side?

Re: how to create a custom pdm forward virtio-net to host

Posted: 10. Feb 2015, 18:27
by 绝世痞子
I'm running android x86 in vbox,but vbox don't support opengl in guest. But after android 4.0, the emulator support GPU Accelerate. It do this by send all opengl to the host, and use host GPU.
my question is, Android emulator use qemu, have a qemu-pipe to communicate between host and guest. but in VBox, how can I do this communicat.
Can I use HGSMI (Host-Guest Shared Memory Interface) or HGCM (host-guest Communication Manager) instead.

Re: how to create a custom pdm forward virtio-net to host

Posted: 13. Mar 2015, 10:15
by 绝世痞子
I config my Guest network to "virtio-net".In host I want to get all the Guest network traffic(in and out). I see someone use pdm module(no source code, just two dll in windows host) to do this.I just found key word like"TX RX vqueueXXX vpciXXX" in their PDM module.
I want to do the same. Where will I get relative information about PDM and "virtio-net"?

Re: how to create a custom pdm forward virtio-net to host

Posted: 13. Mar 2015, 12:33
by michaln
绝世痞子 wrote:I see someone use pdm module
Who is that "someone" and why don't you ask them what they did?