[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libsdl and qemu for linux



roberto wrote:

<snip>

this seems to be in contrast to what bellard says in his page:
http://fabrice.bellard.free.fr/qemu/faq.html
########################################################################
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
########################################################################
what do you think about this?

Using /dev/hda in qemu while you have partitions on that hard drive mounted and running linux just gives me the cringes.



Reply to: