kvm hangs at 100% cpu when connecting to forwarded ports (when listed incorrectly on the command line)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
qemu-kvm (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
Binary package hint: qemu-kvm
If kvm is started using two separate "-net user,hostfwd=
However, if kvm is started with the hostfwd rules combined together into a single "-net user" argument, it works fine.
As an example, this command line doesn't generate any warnings or errors, but causes kvm to hang for me:
kvm -net nic -net user,hostfwd=
... but this command line works fine:
kvm -net nic -net user,hostfwd=
ProblemType: Bug
Architecture: amd64
Date: Fri Oct 16 17:19:59 2009
DistroRelease: Ubuntu 9.10
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
MachineType: Sony Corporation VGN-SZ650N
NonfreeKernelMo
Package: kvm (not installed)
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=UUID=
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: qemu-kvm
Uname: Linux 2.6.31-14-generic x86_64
dmi.bios.date: 07/12/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: R0081S5
dmi.board.
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: VGN-SZ650N
dmi.product.
dmi.sys.vendor: Sony Corporation
Related branches
Changed in qemu-kvm (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in qemu-kvm (Ubuntu Lucid): | |
milestone: | ubuntu-10.04-beta-1 → none |
Changed in qemu-kvm (Ubuntu Lucid): | |
status: | Confirmed → In Progress |
assignee: | Brian Thomason (brian-thomason) → Dustin Kirkland (kirkland) |
On Lucid alpha 3 an error is reported and kvm stops:
$ sudo kvm -net nic -net user,hostfwd= tcp:127. 0.0.1:8888- :80 -net user,hostfwd= tcp:127. 0.0.1:2222- :22 -m 128 -smp 1 -drive file=disk0.qcow2kvm -net nic -net user,hostfwd= tcp:127. 0.0.1:8888- :80 -net user,hostfwd= tcp:127. 0.0.1:2222- :22 -m 128 -smp 1 -drive file=lucid.qcow2 0.0.1:8888- :80'
could not set up host forwarding rule 'tcp:127.
qemu-kvm Version: 0.12.3-0ubuntu2