From: "Namsun Ch'o" <namnamc@Safe-mail.net>
To: programmingkidx@gmail.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: Add real CDROM menu item
Date: Sat, 26 Sep 2015 01:45:54 -0400 [thread overview]
Message-ID: <N1-6pO2GFEdDL@Safe-mail.net> (raw)
> Add a menu item to the Machine menu called "Use Real CDROM". It gives the
> user the ability to use a real CDROM with QEMU by simply selecting a menu
> item.
> NSASCIIStringEncoding];
> + qmp_change_blockdev(device, "/dev/cdrom", "raw", &err);
> + handleAnyDeviceErrors(err);
Not all systems put their CDROM in /dev/cdrom. And you can already select the
machine's real CDROM hardware by doing -cdrom /dev/cdrom (or /dev/sr0, etc).
Examples of device files for CDROMs on other systems:
/dev/sr0
/dev/cd0
/dev/sdc0
/dev/acd0c
/dev/cdrom0
/dev/disk1s0
/dev/scsi/sc0d
/dev/dsk/c1t0d0s0
/dev/rdsk/dks0d1vh
And of course many of the numbers here increment on systems with multiple
drives. There is seriously an insane amount of variation of the names of CDROM
drives. Don't assume that it will only be /dev/cdrom and hardcode it that way.
next reply other threads:[~2015-09-26 5:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 5:45 Namsun Ch'o [this message]
2015-09-26 12:26 ` [Qemu-devel] [PATCH] ui/cocoa.m: Add real CDROM menu item Programmingkid
-- strict thread matches above, loose matches on Subject: below --
2015-09-26 22:49 Namsun Ch'o
2015-09-26 22:51 ` Programmingkid
2015-09-26 3:01 Programmingkid
2015-10-13 20:44 ` Peter Maydell
2015-10-13 22:16 ` Programmingkid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=N1-6pO2GFEdDL@Safe-mail.net \
--to=namnamc@safe-mail.net \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.