From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 24 10:24:52 2009 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 98FEA106564A for ; Tue, 24 Mar 2009 10:24:52 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id 321888FC1D for ; Tue, 24 Mar 2009 10:24:52 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout1.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lm3oQ-0004KO-UA; Tue, 24 Mar 2009 11:24:50 +0100 Received: from tb738.t.pppool.de ([89.55.183.56]:31155 helo=ernst.jennejohn.org) by 7.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1Lm3oQ-0006qz-N6; Tue, 24 Mar 2009 11:24:50 +0100 Date: Tue, 24 Mar 2009 11:24:48 +0100 From: Gary Jennejohn To: Juergen Lock Message-ID: <20090324112448.6d3bab52@ernst.jennejohn.org> In-Reply-To: <200903212017.n2LKHCuq070764@saturn.kn-bremen.de> References: <49B46A29.7020500@FreeBSD.org> <20090309103706.0a44fb26@ernst.jennejohn.org> <200903212017.n2LKHCuq070764@saturn.kn-bremen.de> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: want to test a patch? (was: Re: qemu 0.10.0 - cd/dvd drive access problems) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 10:24:53 -0000 On Sat, 21 Mar 2009 21:17:12 +0100 (CET) Juergen Lock wrote: [snip] > After finding out that there actually is code in qemu now that attempts > to support these things on Linux I played with that a bit and came up with > the patch below that adds some FreeBSD support. You will still have to > tell the guest to eject the disc when you want to take it out/change it > (or do the mentioned change command in the monitor if the guest doesnt > have an eject command), but other than that a passed cd drive should > now work like it now does on Linux hosts. I also did some fixes > to the scsi cdrom emulation while I was at it (eject/load command > support was missing too), so passing a cd drive as > -drive if=scsi,media=cdrom,file=/dev/acd0 (or also /dev/cd0) should now > work as well. (It is still readonly tho, scsi passthru support would be > the next thing to be ported i.e. so you could do file=/dev/pass0...) > [snip patch] It's a little late now, since you've already updated the port, but... I can use eject in my openSUSE client to open the drawer of the DVD drive. I also noticed that I don't need to use notsc to boot openSUSE with the latest version of the qemu port :) --- Gary Jennejohn