qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies)
@ 2004-05-26 16:11 Hetz Ben Hamo
  2004-05-27 13:58 ` Daniel Serpell
  0 siblings, 1 reply; 4+ messages in thread
From: Hetz Ben Hamo @ 2004-05-26 16:11 UTC (permalink / raw)
  To: qemu-devel

Hi,

Just a small question for my howto:

Does QEMU at the moment support real medias like floppies or CD's? if so, how 
to use it?

Thanks,
Hetz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies)
  2004-05-26 16:11 [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies) Hetz Ben Hamo
@ 2004-05-27 13:58 ` Daniel Serpell
  2004-05-28  4:04   ` Markus Niemistö
  2004-05-28 18:31   ` Emre Ersin
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Serpell @ 2004-05-27 13:58 UTC (permalink / raw)
  To: hetz, qemu-devel


El Wed, May 26, 2004 at 07:11:43PM +0300, Hetz Ben Hamo escribio:
> Hi,
> 
> Just a small question for my howto:
> 
> Does QEMU at the moment support real medias like floppies or CD's? if so,
> how to use it?
> 

Simple:

 qemu -cdrom /dev/cdrom -fda /dev/fd0

You need read/write permisions to the cdrom/floppy devices (in Debian,
it means add your user to groups "cdrom" and "floppy".


    Daniel.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies)
  2004-05-27 13:58 ` Daniel Serpell
@ 2004-05-28  4:04   ` Markus Niemistö
  2004-05-28 18:31   ` Emre Ersin
  1 sibling, 0 replies; 4+ messages in thread
From: Markus Niemistö @ 2004-05-28  4:04 UTC (permalink / raw)
  To: qemu-devel

On Thu, 27 May 2004 09:58:44 -0400
Daniel Serpell <daniel@atmlab.utfsm.cl> wrote:

> Simple:
> 
>  qemu -cdrom /dev/cdrom -fda /dev/fd0
> 
> You need read/write permisions to the cdrom/floppy devices (in Debian,
> it means add your user to groups "cdrom" and "floppy".

CD-ROMs don't work on FreeBSD (I've mentioned this earlier, too). On
FreeBSD one only can read CDs in 2048 byte blocks. QEMU tries to read a
smaller blocks, at least when it tries to figure out whether the image
is a COW image.

I had some patches lying around, but they fixed the problem only
partially. CDs work with Bochs, however. So Bochs is aware of this
restriction.

Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies)
  2004-05-27 13:58 ` Daniel Serpell
  2004-05-28  4:04   ` Markus Niemistö
@ 2004-05-28 18:31   ` Emre Ersin
  1 sibling, 0 replies; 4+ messages in thread
From: Emre Ersin @ 2004-05-28 18:31 UTC (permalink / raw)
  To: qemu-devel


>Simple:
>
> qemu -cdrom /dev/cdrom -fda /dev/fd0
>
>You need read/write permisions to the cdrom/floppy devices (in Debian,
>it means add your user to groups "cdrom" and "floppy".
>
>  
>
It doesn't work. Because qemu tries to open them at startup and if there is no media it will simply give error. One way is showing some dummy images at startup and changing after boot.   

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-28  4:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-26 16:11 [Qemu-devel] QEMU and REAL media (CD's, DVD's, floppies) Hetz Ben Hamo
2004-05-27 13:58 ` Daniel Serpell
2004-05-28  4:04   ` Markus Niemistö
2004-05-28 18:31   ` Emre Ersin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).