qemu cd-rom emulation question

Mike Silbersack silby at silby.com
Mon Mar 5 08:47:35 UTC 2007


On Thu, 15 Feb 2007, Juergen Lock wrote:

> In article <20070213015439.H64316 at 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


More information about the freebsd-emulation mailing list