From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 5 08:47:35 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A267D16A409 for ; Mon, 5 Mar 2007 08:47:35 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.freebsd.org (Postfix) with SMTP id 4694C13C4B4 for ; Mon, 5 Mar 2007 08:47:34 +0000 (UTC) (envelope-from silby@silby.com) Received: (qmail 25179 invoked from network); 5 Mar 2007 08:20:54 -0000 Received: from 209.68.2.70 (HELO localhost) (209.68.2.70) by relay01.pair.com with SMTP; 5 Mar 2007 08:20:54 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 5 Mar 2007 02:20:37 -0600 (CST) From: Mike Silbersack To: Juergen Lock In-Reply-To: <200702151924.l1FJOvqL041071@saturn.kn-bremen.de> Message-ID: <20070305021919.S10411@odysseus.silby.com> References: <200702151924.l1FJOvqL041071@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@freebsd.org Subject: Re: qemu cd-rom emulation question 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: Mon, 05 Mar 2007 08:47:35 -0000 On Thu, 15 Feb 2007, Juergen Lock wrote: > In article <20070213015439.H64316@odysseus.silby.com> you write: >> Does anyone know if it's possible to convince qemu to emulate the virtual >> cd-rom as the slave device on the primary channel rather than as the >> master device on the secondary channel? > > Not without patching qemu, no. (FWIW, the -disk patch, which has been > backed out in the meantime in the qemu source, made the cdrom appear as > primary master, but caused linux guests to hang when adding an ide disk...) > > Juergen I ended up achieving what I wanted by manually patching qemu. Since it's so simple (at the source level) to change which IDE device the cd-rom shows up as, it would be really nice if there was a command line option to perform that action. Mike "Silby" Silbersack