-net socket,listen... segfaults
Bug #388197 reported by
Chris Cowan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvm (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
qemu (Fedora) |
Fix Released
|
Medium
|
Bug Description
Binary package hint: kvm
I'm trying to get two virtual machines on the same vlan, looking at directions from http://
When I use this command:
"kvm -cdrom ubuntu-
I just get "Segmentation fault".
If I try to make it listen on a port that's in use or a privileged port, I get a sensible error instead as expected:
bind: Permission denied
Could not initialize device 'socket'
I'm using kvm package version 1:84+dfsg-0ubuntu12 in Ubuntu 9.04.
Changed in qemu (Fedora): | |
status: | Unknown → Fix Released |
Changed in kvm (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in qemu (Fedora): | |
importance: | Unknown → Medium |
To post a comment you must log in.
qemu-system- x86-0.10- 16.fc11. x86_64
$ sudo qemu -hda test/root.ext2 -m 256M -net nic,macaddr= 52:54:00: 12:34:56 -net socket, listen= localhost: 4567 -kernel /boot/vmlinuz- $(uname -r) -initrd test/initramfs. testing -append "root=/dev/sda rw"
Segmentation fault
problem is "-net socket,listen=..."
(gdb) bt x86_64/ strlen. S:31 listen_ init (host_str=<value optimized out>, debug/qemu- kvm-0.10/ qemu/vl. c:5738
#0 strlen () at ../sysdeps/
#1 0x0000003f9987f166 in *__GI___strdup (s=0x0) at strdup.c:42
#2 0x00000000004865a7 in net_socket_
name=<value optimized out>, model=<value optimized out>, vlan=<value optimized out>) at net.c:1622
#3 net_client_init (host_str=<value optimized out>, name=<value optimized out>,
model=<value optimized out>, vlan=<value optimized out>) at net.c:1914
#4 0x0000000000486d27 in net_client_parse (str=<value optimized out>) at net.c:2039
#5 0x000000000040cf2d in main (argc=<value optimized out>, argv=<value optimized out>,
envp=<value optimized out>) at /usr/src/
(gdb) quit