* [Qemu-devel] slirp regression
@ 2009-07-02 8:11 Avi Kivity
2009-07-02 8:14 ` [Qemu-devel] " Jan Kiszka
0 siblings, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2009-07-02 8:11 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel
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.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: slirp regression
2009-07-02 8:11 [Qemu-devel] slirp regression Avi Kivity
@ 2009-07-02 8:14 ` Jan Kiszka
2009-07-02 10:03 ` Avi Kivity
0 siblings, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2009-07-02 8:14 UTC (permalink / raw)
To: Avi Kivity; +Cc: qemu-devel
Avi Kivity wrote:
> 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
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 8:14 ` [Qemu-devel] " Jan Kiszka
@ 2009-07-02 10:03 ` Avi Kivity
2009-07-02 10:06 ` Avi Kivity
2009-07-02 10:10 ` Avi Kivity
0 siblings, 2 replies; 9+ messages in thread
From: Avi Kivity @ 2009-07-02 10:03 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel
On 07/02/2009 11:14 AM, Jan Kiszka wrote:
> Avi Kivity wrote:
>
>> 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 dump
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
kvm_create_vcpu: Bad file descriptor
create_userspace_phys_mem: Bad file descriptor
kvm_cpu_register_physical_memory: failed
Looks like something is closing random file descriptors.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 10:03 ` Avi Kivity
@ 2009-07-02 10:06 ` Avi Kivity
2009-07-02 10:27 ` Jan Kiszka
2009-07-02 10:10 ` Avi Kivity
1 sibling, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2009-07-02 10:06 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]
On 07/02/2009 01:03 PM, Avi Kivity wrote:
> On 07/02/2009 11:14 AM, Jan Kiszka wrote:
>> Avi Kivity wrote:
>>> 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 dump
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> kvm_create_vcpu: Bad file descriptor
> create_userspace_phys_mem: Bad file descriptor
> kvm_cpu_register_physical_memory: failed
>
> Looks like something is closing random file descriptors.
>
Simplifying the command line I do get a dump, attached. No dhcp packets
there.
--
error compiling committee.c: too many arguments to function
[-- Attachment #2: qemu-vlan0.pcap --]
[-- Type: application/octet-stream, Size: 588 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 10:03 ` Avi Kivity
2009-07-02 10:06 ` Avi Kivity
@ 2009-07-02 10:10 ` Avi Kivity
2009-07-02 10:23 ` Jan Kiszka
1 sibling, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2009-07-02 10:10 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel
On 07/02/2009 01:03 PM, Avi Kivity wrote:
>
> 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
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 10:10 ` Avi Kivity
@ 2009-07-02 10:23 ` Jan Kiszka
2009-07-02 10:58 ` Avi Kivity
0 siblings, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2009-07-02 10:23 UTC (permalink / raw)
To: Avi Kivity; +Cc: qemu-devel
Avi Kivity wrote:
> On 07/02/2009 01:03 PM, Avi Kivity wrote:
>>
>> 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
>
Does -net user,hostfwd=tcp::4444-:22 work for you? I will check the
legacy path later.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 10:06 ` Avi Kivity
@ 2009-07-02 10:27 ` Jan Kiszka
0 siblings, 0 replies; 9+ messages in thread
From: Jan Kiszka @ 2009-07-02 10:27 UTC (permalink / raw)
To: Avi Kivity; +Cc: qemu-devel
Avi Kivity wrote:
> On 07/02/2009 01:03 PM, Avi Kivity wrote:
>> On 07/02/2009 11:14 AM, Jan Kiszka wrote:
>>> Avi Kivity wrote:
>>>> 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 dump
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> kvm_create_vcpu: Bad file descriptor
>> create_userspace_phys_mem: Bad file descriptor
>> kvm_cpu_register_physical_memory: failed
>>
>> 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
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: slirp regression
2009-07-02 10:23 ` Jan Kiszka
@ 2009-07-02 10:58 ` Avi Kivity
2009-07-02 19:03 ` Jan Kiszka
0 siblings, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2009-07-02 10:58 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel
On 07/02/2009 01:23 PM, Jan Kiszka wrote:
>> 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.
>
>
It does.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: slirp regression
2009-07-02 10:58 ` Avi Kivity
@ 2009-07-02 19:03 ` Jan Kiszka
0 siblings, 0 replies; 9+ messages in thread
From: Jan Kiszka @ 2009-07-02 19:03 UTC (permalink / raw)
To: Avi Kivity; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
Avi Kivity wrote:
> On 07/02/2009 01:23 PM, Jan Kiszka wrote:
>>> 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.
>>
>>
>
> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-07-02 19:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 8:11 [Qemu-devel] slirp regression Avi Kivity
2009-07-02 8:14 ` [Qemu-devel] " Jan Kiszka
2009-07-02 10:03 ` Avi Kivity
2009-07-02 10:06 ` Avi Kivity
2009-07-02 10:27 ` Jan Kiszka
2009-07-02 10:10 ` Avi Kivity
2009-07-02 10:23 ` Jan Kiszka
2009-07-02 10:58 ` Avi Kivity
2009-07-02 19:03 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).