How to interconnect 2 VM using the serial port

Discussions related to using VirtualBox on Windows hosts.
Post Reply
millenod
Posts: 2
Joined: 28. Dec 2007, 00:35

How to interconnect 2 VM using the serial port

Post by millenod »

Hi,

I'm trying VirtualBox and this virtualizers has better performance than VPC. So I'm interesting to switch all my VM to VirtualBox, but I've a problem.

My main system is Win XP Pro.
This systems manages 2 VM that runs simustaneously :
- VM_Dev : A VWin XP Pro dedicated to developpers tools (the main software is Visual Studio
- VM_Test : A Win XP Pro test environment

I'm currently working on a driver development.
So my code is written in VM_Dev. then I'm using "WinDbg" as remote kernel debugger; This software must connect to a com port on VM_Test.
The compiled code is run on VM_Test. The system is started in debug mode, using serial port.

My problem is :
How can I connect VM_Dev to VM_Test using a com port (pipe) ?

I did it with VPC, but I didn't success to do it with vbox.

Thanks in advance for your help.
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:

Post by frank »

Just enable one serial port on both VMs, select host pipe, use the same pipe path for both VMs and click 'create pipe' on one VM. Start that VM as first. The other VM will connect to that pipe and both VMs will talk to each other over that pipe. VirtualBox 1.5.4 has some fixes regarding serial ports.
Post Reply