Setup virtual serial connection for Windows VMs FAILS

Bug #1196426 reported by Venkatesh Petla
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned

Bug Description

Hi,

To setup a virtual serial connections between two Windows 2008 R2(64-bit) guest VMs, I am referring the link
http://www.linux-kvm.org/page/WindowsGuestDrivers/UpdatedGuestDebugging

I started the host VM using the command
# /usr/local/bin/qemu-system-x86_64 -smp 1 -enable-kvm -m 512 -boot c -chardev stdio,id=mon0 -mon chardev=mon0 -serial tcp::4445,server,nowait -hda /mnt/sda5/var/lib/libvirt/images/win2008host.img

To start a target VM, the link specifies the below command
/usr/local/bin/qemu-system-x86_64 \--enable-kvm \-m 1024 \-drive file=win-target.img \-chardev stdio,id=mon0 \-mdev=mon0 \-serial tcp:127.0.0.1:4445.

I am using the QEMU emulator version 0.15.1 (qemu-kvm-0.15.1). The command is lil bit changed and also doesn't have -mdev option. I executed the below command.

# /usr/local/bin/qemu-system-x86_64 -enable-kvm -smp 1 -m 512 -boot c -chardev stdio,id=mon0 -mon chardev=mon0 -serial tcp:127.0.0.1:4455 -hda /var/lib/libvirt/images/win2008target.img

It through the error
inet_connect_opts: connect(ipv4,127.0.0.1,127.0.0.1,4455): Connection refused
chardev: opening backend "socket" failed: Connection refused
qemu: could not open serial device 'tcp:127.0.0.1:4455': Connection refused

Please let me know if any one knows how to fix issue.

My Linux System Info:
# cat /etc/redhat-release
Fedora release 12 (Constantine)

# uname -a
Linux petla 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

#cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz

#/usr/local/bin/qemu-system-x86_64 --version
QEMU emulator version 0.15.1 (qemu-kvm-0.15.1), Copyright (c) 2003-2008 Fabrice Bellard

Guest VMs(host and target): Windows Server 2008 R2 (64-bit)

Thanks in Advance
Venkatesh

Revision history for this message
Thomas Huth (th-huth) wrote :

Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.