From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 20 20:37:49 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A7C1065670 for ; Thu, 20 Mar 2008 20:37:49 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id A21278FC17 for ; Thu, 20 Mar 2008 20:37:49 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.72] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JcRWG-000GhV-1k; Thu, 20 Mar 2008 23:37:48 +0300 To: Kostik Belousov References: <200803202015.m2KKFTBX080186@saturn.kn-bremen.de> <20080320202852.GR10374@deviant.kiev.zoral.com.ua> From: Boris Samorodov Date: Thu, 20 Mar 2008 23:37:13 +0300 In-Reply-To: <20080320202852.GR10374@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Thu\, 20 Mar 2008 22\:28\:52 +0200") Message-ID: <49891606@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, Juergen Lock Subject: Re: qemu coredumps on RELENG_7 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 20:37:50 -0000 On Thu, 20 Mar 2008 22:28:52 +0200 Kostik Belousov wrote: > > Index: qemu/vl.c > > @@ -8423,6 +8423,12 @@ > > nb_nics = 0; > > /* default mac address of the first network interface */ > > > > +#ifdef __FreeBSD__ > > + loadmodules(0, "aio", NULL); > > + if (modfind("aio") == -1) > > + fprintf(stderr, "warning: aio not (kld)loaded, may cause `Invalid system call' traps on disk IO\n"); > > +#endif > > + > > optind = 1; > > for(;;) { > > if (optind >= argc) > > > > Would everybody be satisfied with this now? :) > Me not :). Better print the message without the module load attempt. I'm irrelevant to loading module or not, but PLEASE leave the message! :) WBR -- bsam