On Sat, Jan 16, 2016 at 02:47:01PM -0500, Christos Zoulas wrote:
> On Jan 16,  7:21pm, bou...@antioche.eu.org (Manuel Bouyer) wrote:
> -- Subject: vnd.c 1.254
> 
> | 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.
> | 
> | This has been pulled up to netbsd-7 and netbsd-7-0 as part of
> | ticket 1038, so vnconfig (and Xen dom0) is broken here too,
> | as reported in PR 50659
> 
> It was getting an infinite loop before I think. Is that with both kernel
> and userland built from 7.0?

yes.
I don't know what vnd_cd.cd_ndevs is supposed to be when the
number of pseudo-device is not hardcoded in the kernel

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

Reply via email to