Skip to contentSkip to conversation

Extensions to control tools for CD-ROM support

RFC Anthony Liguori 2 participants 2 messages May 11, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

I noticed that there's now a bug in bugzilla for CD-ROM support (#28).

There's just a couple issues on how it should be exposed in the tools. Otherwise, it's a pretty easy patch.

1) How should a user specify whether a block device should be exposed as a CD-ROM?

2) Is it going to be necessary to expose block devices as other types?

3) If we're going to move to special Xen-specific block devices, should we also have Xen specific CD-ROMs? Something like /dev/xcdN?

Regards,

Anthony Liguori

#1 lore raw
Quoted 4 lines

I noticed that there's now a bug in bugzilla for CD-ROM support (#28).

There's just a couple issues on how it should be exposed in the tools. Otherwise, it's a pretty easy patch.

There's believed to be some sort of driver-level bug that needs fixing here, since it appears to be more broken than it should be.

Quoted 2 lines

1) How should a user specify whether a block device should be exposed as a CD-ROM?

How about a uname-style format like we have for source devs? We could make the type specifier optional, e.g.

disks = [ 'phy:/dev/sda1,hda1,w', 'phy:/dev/cdrom,cdrom:hdd,r']

Quoted 1 line

2) Is it going to be necessary to expose block devices as other types?

Maybe one day... The above syntax should be flexible enough though.

Quoted 2 lines

3) If we're going to move to special Xen-specific block devices, should we also have Xen specific CD-ROMs? Something like /dev/xcdN?

It'd be nice to retain the ability to use arbitrary hdX and sdX nodes for now (and possibly even after we have some device numbers assigned).

Cheers,
Mark

Quoted 8 lines

Regards,

Anthony Liguori

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel