On Sat, 19 May 2007 22:08:23 +0300
"Blue Swirl" <[EMAIL PROTECTED]> wrote:
> This patch fixes the crash. But I'm not convinced it's the right one,
> perhaps the default net parameter logic could be improved instead:
>     /* init network clients */
>     if (nb_net_clients == 0) {
>         /* if no clients, we use a default config */
>         pstrcpy(net_clients[0], sizeof(net_clients[0]),
>                 "nic");
>         pstrcpy(net_clients[1], sizeof(net_clients[0]),
>                 "user");
>         nb_net_clients = 2;
>     }
> 
> Also one of the network options could be a black hole kind of device,
> such that unlike the "none" type, the device exists, it just can't
> send or receive anything.

I've verified your patch fixes the crash for me.  But I'm curious, have
I been running qemu in a nonstandard fashion, then?  (Should I be
specifying more than just "-net user", normally?)

If so, I can make up a patch to amend the documentation.

Thanks!

Mark


Reply via email to