On Mon, Jan 17, 2011 at 11:28:47AM +0000, Stefan Hajnoczi wrote: > > + ? ?if (bdrv_get_type_hint(bs) == BDRV_TYPE_CDROM) { > > + ? ? ? ?error_report("Can not resize CDROM devices\n"); > > + ? ? ? ?return -1; > > + ? ?} > > Hrm...BDRV_TYPE_FLOPPY probably too?
If we want to be consistent, yes. Or we could remove the CDROM check and let people shoot themselves in the foot as much as they want.