tech-kern archive

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

Re: vnd.c 1.254



On Sat, Jan 16, 2016 at 07:21:47PM +0100, Manuel Bouyer wrote:
> Hello,
> what problem are you trying to solve with this commit to sys/dev/vnd.c ?
> revision 1.251
> date: 2015/11/09 17:41:24;  author: christos;  state: Exp;  lines: +3 -5
> Return ENXIO if the get ioctl exceeds the number of configured devices.
> XXX: pullup-7
> 
> 
> This broke vnconfig -l (and so Xen block-device scripts):
> xen1:/tmp#vnconfig -l
> vnd0: /domains (/dev/wd0f) inode 3
> vnconfig: VNDIOCGET: Device not configured
> 
> There are 7 more vnd devices in /dev/ waiting to be configured on this system.

It's worse than I though; vnd1 is in use. So vnconfig -l is not
even listing all configured vnd devices.

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


Home | Main Index | Thread Index | Old Index