From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 18:49:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3537F1065678 for ; Tue, 24 Mar 2009 18:49:37 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id E3C6C8FC0A for ; Tue, 24 Mar 2009 18:49:36 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 450221E005F4; Tue, 24 Mar 2009 19:26:20 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n2OIORmi068799; Tue, 24 Mar 2009 19:24:27 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n2OIOQ4Z068798; Tue, 24 Mar 2009 19:24:26 +0100 (CET) (envelope-from nox) Date: Tue, 24 Mar 2009 19:24:26 +0100 (CET) From: Juergen Lock Message-Id: <200903241824.n2OIOQ4Z068798@saturn.kn-bremen.de> To: guru@unixarea.de X-Newsgroups: gmane.os.freebsd.questions In-Reply-To: <20090317143537.GA12969@rebelion.Sisis.de> Organization: home Cc: freebsd-questions@freebsd.org Subject: Re: 7.0-STABLE && qemu not terminating X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 18:49:38 -0000 In article <20090317143537.GA12969@rebelion.Sisis.de> you write: > >Hello, > >My VM qemu (qemu-0.9.1_3 / kqemu-kmod-1.3.0.p11_2) does not terminate >after the system (WinXP) is successfully halted and the qemu window is >closed; it stays forever as: > ># ps ax | fgrep qemu > 1687 ?? I 0:00,25 kdesu -u root -c /home/guru/qemu/w2k/qemu.sh > 1713 ?? Is 0:00,00 sh -c /home/guru/qemu/w2k/qemu.sh > 1714 ?? I 0:00,00 /bin/sh /home/guru/qemu/w2k/qemu.sh > 1717 ?? DE 11:51,11 qemu -localtime -hda disk0 -hdb disk1 -net nic -net tap -m 512 > >any ides? thx > > matthias While I don't remeber seeing reports about this particular issue, it is still very well possible that it has been fixed in the meantime, so I'd advise you to update. (the port is at 0.10.1 now, which contains quite a few bugfixes and improvements... Don't forget to read UPDATING and the pkg-message of the port tho.) Oh and also, there usually is no reason to run qemu as root if you setup tap permissions and (possibly) ifup/down scripts accordingly. (Or, if you are only using tuntap because you are on amd64 where slirp was broken, that also is fixed now.) HTH, Juergen