qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1196426] [NEW] Setup virtual serial connection for Win


From: Venkatesh Petla
Subject: [Qemu-devel] [Bug 1196426] [NEW] Setup virtual serial connection for Windows VMs FAILS
Date: Mon, 01 Jul 2013 07:20:22 -0000

Public bug reported:

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

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: connection serial virtual

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1196426

Title:
  Setup virtual serial connection for Windows VMs FAILS

Status in QEMU:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1196426/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]