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

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

Reply via email to