qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a p


From: Serge Hallyn
Subject: [Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening
Date: Wed, 15 Feb 2012 07:45:38 -0000

Reproduced with uptodate qemu.git:

./x86_64-softmmu/qemu-system-x86_64 --enable-kvm -drive file=../../delme.img -m 
512 -vnc :1 -net nic,model=virtio -net user,hostfwd=tcp::2222-:22
[...  immediately ssh -p 2222 localhost in another terminal, then wait while VM 
starts to boot ...]
Segmentation fault (core dumped)

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

Title:
  qemu exits with -11 when connecting to a port redirect before the
  service starts listening

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  This was detected initially as a crash in the auto upgrade tester.
  The code of the upgrade tester basically spawns a kvm instance in the 
background with a port redirect from localhost:54322 to tcp:22 in the VM, then 
wait for that port to allow for a ssh connection before continuing the upgrade 
testing.

  In the past (Oneiric), all worked well but since Precise, we now get
  qemu exitting with -11 at every single test :(

  A quick reproducer is:
   - start a VM that has openssh-server installed with: -net 
user,hostfwd=tcp::54322-:22
   - immediately start "ssh -p 54322 127.0.0.1" before the VM starts booting 
(BIOS/GRUB state)

  Then wait for sshd to start in the VM and qemu will exit with -11.

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



reply via email to

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