Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: regression: xen domU no longer supports "type=cdrom" vbd disk



On Mon, Jun 08, 2020 at 02:26:39PM -0700, Greg A. Woods wrote:
> I use xl.cfg "disk" entries like the following to mount a virtual CDROM
> in a Xen domU:
> 
>     'format=raw, vdev=0x5, access=ro, devtype=cdrom, target=/images/NetBSD-9.0-amd64.iso'
> 
> However since upgrading my -current source tree I've been seeing:
> 
> 	xenbus0: ignoring device/vbd/4 type cdrom
> 
> As shown in this patch I had to comment out the core of the mentioned
> change to be able to use an ISO image again as a virtual CDROM again:

Actually this change matches what other OSes do with 'devtype=cdrom',
we were an outsider here.

For PV or PVH domUs you can omit the devtype keyword, it's only
needed for HVM guests (if you want to boot from the cdrom image).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index