slirp regression
Slirp now defaults to direct connection (no gateway) to 10.0.0.0/8, compared to 10.0.2.0/24 in the past. This renders my real 10.0.0.0/8 network inaccessible.
Also, NetworkManager in F11 isn't able to bind to the network - I have to dhclient manually. I don't know whether this is a regression or an F11 bug.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 7 lines · Avi Kivity
Slirp now defaults to direct connection (no gateway) to 10.0.0.0/8, compared to 10.0.2.0/24 in the past. This renders my real 10.0.0.0/8 network inaccessible.
Also, NetworkManager in F11 isn't able to bind to the network - I have to dhclient manually. I don't know whether this is a regression or an F11 bug.
Please post the corresponding pcap trace generated by "-net dump".
Thanks,
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 6 lines · Jan Kiszka
Quoted 4 lines · Avi Kivity
Slirp now defaults to direct connection (no gateway) to 10.0.0.0/8, compared to 10.0.2.0/24 in the past. This renders my real 10.0.0.0/8 network inaccessible.
Quoted 8 lines
Quoted 4 lines
Also, NetworkManager in F11 isn't able to bind to the network - I have to dhclient manually. I don't know whether this is a regression or an F11 bug.
Please post the corresponding pcap trace generated by "-net dump".
[avi@barcelona1 qemu-kvm (master)]$ q -m 1024 /images/F11.img -cdrom /home/avi/iso/linux/Fedora-11-x86_64-DVD.iso -net nic -net user -drive file=/dev/vg0/compile,if=virtio,cache=none -smp 8 -redir tcp:4444::22 -net dumpkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorcreate_userspace_phys_mem: Bad file descriptorkvm_cpu_register_physical_memory: failed
Looks like something is closing random file descriptors.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 26 lines · Avi Kivity
Quoted 11 lines · Jan Kiszka
Quoted 7 lines · Avi Kivity
Slirp now defaults to direct connection (no gateway) to 10.0.0.0/8, compared to 10.0.2.0/24 in the past. This renders my real 10.0.0.0/8 network inaccessible.
Also, NetworkManager in F11 isn't able to bind to the network - I have to dhclient manually. I don't know whether this is a regression or an F11 bug.
Please post the corresponding pcap trace generated by "-net dump".
[avi@barcelona1 qemu-kvm (master)]$ q -m 1024 /images/F11.img -cdrom
/home/avi/iso/linux/Fedora-11-x86_64-DVD.iso-net nic -net user -drive file=/dev/vg0/compile,if=virtio,cache=none -smp 8 -redir
tcp:4444::22 -net dumpkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorcreate_userspace_phys_mem: Bad file descriptorkvm_cpu_register_physical_memory: failed
Quoted 2 lines
Looks like something is closing random file descriptors.
Simplifying the command line I do get a dump, attached. No dhcp packets there.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 28 lines · Avi Kivity
Quoted 27 lines · Avi Kivity
Quoted 11 lines · Jan Kiszka
Quoted 7 lines · Avi Kivity
Slirp now defaults to direct connection (no gateway) to 10.0.0.0/8, compared to 10.0.2.0/24 in the past. This renders my real 10.0.0.0/8 network inaccessible.
Also, NetworkManager in F11 isn't able to bind to the network - I have to dhclient manually. I don't know whether this is a regression or an F11 bug.
Please post the corresponding pcap trace generated by "-net dump".
[avi@barcelona1 qemu-kvm (master)]$ q -m 1024 /images/F11.img -cdrom
/home/avi/iso/linux/Fedora-11-x86_64-DVD.iso-net nic -net user -drive file=/dev/vg0/compile,if=virtio,cache=none -smp 8 -redir tcp:4444::22 -net dumpkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorkvm_create_vcpu: Bad file descriptorcreate_userspace_phys_mem: Bad file descriptorkvm_cpu_register_physical_memory: failed
Quoted 5 lines
Quoted 2 lines
Looks like something is closing random file descriptors.
Simplifying the command line I do get a dump, attached. No dhcp packets there.
Hmm, I'm not sure ATM if the previous netmask was /24, but I will check again and fix the defaults if required.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 3 lines · Avi Kivity
Looks like something is closing random file descriptors.
This fails:
q -m 1024 /images/F11.img -net nic -net user -redir tcp:4444::22
-net dump
But this succeeds:
q -m 1024 /images/F11.img -net nic -net user -net dump
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 5 lines · Avi Kivity
Quoted 3 lines · Avi Kivity
Looks like something is closing random file descriptors.
Quoted 9 lines
This fails:
q -m 1024 /images/F11.img -net nic -net user -redir tcp:4444::22-net dump
But this succeeds:
q -m 1024 /images/F11.img -net nic -net user -net dump
Does -net user,hostfwd=tcp::4444-:22 work for you? I will check the legacy path later.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 5 lines · Jan Kiszka
Quoted 5 lines
This fails:
q -m 1024 /images/F11.img -net nic -net user -redir tcp:4444::22-net dump
Quoted 10 lines
Quoted 5 lines
But this succeeds:
q -m 1024 /images/F11.img -net nic -net user -net dump
Does -net user,hostfwd=tcp::4444-:22 work for you? I will check the legacy path later.
It does.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 12 lines · Avi Kivity
Quoted 11 lines · Jan Kiszka
Quoted 10 lines
This fails:
q -m 1024 /images/F11.img -net nic -net user -redir tcp:4444::22-net dump
But this succeeds:
q -m 1024 /images/F11.img -net nic -net user -net dump
Quoted 7 lines
Quoted 4 lines
Does -net user,hostfwd=tcp::4444-:22 work for you? I will check the legacy path later.
It does.
Confirmed and found. That was an interesting bug - a kvm kernel bug! Patches for the latter and a workaround for userland will follow.
Jan