Joined: Aug. 2005
||Posted: Aug. 07 2005,09:38
the latest version of qemu allows access to the cdrom
i have also read that it allows read only access to hard drives though can't seem to find this info again!
Can I use a real disk, floppy or CDROM in QEMU ?
Yes, at least with Linux. For the floppy, use /dev/fd0 as image filename. For the cdrom, use /dev/cdrom. For a real hard disk, first ensure that you have read-only permission to the device (it is very dangerous to leave write access to the device because in case of problems you can trash your hard disk). Then use /dev/hda to use the hard disk 0. As QEMU will have read-only access to the device, all the changes will be discarded at the end of the QEMU session. For more safety if you do not know the access rights of the hard disk device, always use the -snapshot option:
qemu -snapshot /dev/hda