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

Discussions related to using the OSE version of VirtualBox.
Post Reply
绝世痞子
Posts: 4
Joined: 10. Feb 2015, 12:28

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

Post 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.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

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

Post 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?
绝世痞子
Posts: 4
Joined: 10. Feb 2015, 12:28

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

Post 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.
绝世痞子
Posts: 4
Joined: 10. Feb 2015, 12:28

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

Post 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"?
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

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

Post by michaln »

绝世痞子 wrote:I see someone use pdm module
Who is that "someone" and why don't you ask them what they did?
Post Reply