On 29 June 2015 at 17:54, Programmingkid <programmingk...@gmail.com> wrote: > @@ -2365,6 +2384,10 @@ static BlockDriver bdrv_host_device = { > .bdrv_ioctl = hdev_ioctl, > .bdrv_aio_ioctl = hdev_aio_ioctl, > #endif > + > +#ifdef __APPLE__ > + .bdrv_is_inserted = cdrom_is_inserted, > +#endif
Why isn't this handled by having a bdrv_host_cdrom, like Linux and FreeBSD do for their CDROM support? -- PMM