Re: libsdl and qemu for linux



roberto wrote:

On 2/28/06, Star King of the Grape Trees <thestar@xxxxxxxxxxxxxxxx> wrote:


roberto wrote:


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.



perhaps i did not understand correctly what Bellard was intented to say...
sorry, maybe you're right

That should actually work, provided you're using COW (or QCOW) discs, but it still gives me cringes.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: /dev/sd*
    ... back to "hd*" since that actually expands to Hard Disk. ... Actually that does make more sense then using disk. ... the less advanced Linux users. ... BASH BUFFER OVERFLOW - if bash is being run by a ...
    (Linux-Kernel)
  • Re: libsdl and qemu for linux
    ... Can I use a real disk, floppy or CDROM in QEMU? ... problems you can trash your hard disk). ...
    (Debian-User)
  • Re: [SLE] moving hard disks
    ... > the small hard disk that I need to take out of my linux box. ... There should be no problem in moving the disk anywhere else as long as ...
    (SuSE)
  • Re: SATA disks suddenly stop working
    ... I was installing Linux under qemu today and it had been running for ... several hours and had installed multi-gigabytes of data when qemu ... Doing "atacontrol reinit" on the port resulted in a message ... I've also seen problems with a disk attached to ata6. ...
    (freebsd-current)
  • Re: [9fans] the old floppy set
    ... i have the same error with both qemu and period hardware. ... qemu-8.2.0 and a pentium 266MHz laptop. ... like 50 MB) on the hard disk, ...
    (comp.os.plan9)