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

Discussions related to using the OSE version of VirtualBox.

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

Postby 绝世痞子 » 10. Feb 2015, 12:32

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

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

Postby frank » 10. Feb 2015, 16:14

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

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

Postby 绝世痞子 » 10. Feb 2015, 18:27

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

Postby 绝世痞子 » 13. Mar 2015, 10:15

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

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

Postby michaln » 13. Mar 2015, 12:33

绝世痞子 wrote:I see someone use pdm module

Who is that "someone" and why don't you ask them what they did?
michaln
Oracle Corporation
 
Posts: 2958
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest