qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] better describe -net options


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] better describe -net options
Date: Wed, 17 Mar 2010 11:40:30 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 03/17/2010 11:13 AM, Jamie Lokier wrote:
Anthony Liguori wrote:
    On 03/05/2010 03:07 PM, Brian Thomason wrote:

      The manpage reflects that multiple -net user calls may be made,
      but if this is done, it can cause the program to hang. Instead,
      multiple -net calls can be combined into one, and this patch adds
      that information to qemu-options.hx. Also, -net user may only
      be used in conjunction with -net nic.  This is already implcitly
      stated, but this patch makes that statement more explicit.

    Actually, the problem is that the user created a loop.  It's actually
    valid to have something like:
    -net user -net dump,file=foo.pcap -net nic
    But having -net user -net user creates a loop.
When I used -net user -net user, it didn't hang: QEMU crashed with a
stack overflow.

It crashed after a doing a successful full OS install, because
everything was fine until the first network packet.

That's not nice, even if it is user error.

Well we should dedicate this case in the code and throw an error.

Regards,

Anthony Liguori

-- Jamie





reply via email to

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