From e368fb6eb6eb3041fa9f4c608377ddf90d33f11e Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 9 Jun 2022 09:56:19 +0300 Subject: userboot is missing vdisk_dev Add vdisk device support in userboot configuration. MFC after: 1 week --- stand/userboot/userboot/conf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stand/userboot/userboot/conf.c b/stand/userboot/userboot/conf.c index 3762be5332ec..066c2aa87492 100644 --- a/stand/userboot/userboot/conf.c +++ b/stand/userboot/userboot/conf.c @@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$"); #include "libzfs.h" #endif +extern struct devsw vdisk_dev; + /* * We could use linker sets for some or all of these, but * then we would have to control what ended up linked into @@ -55,6 +57,7 @@ __FBSDID("$FreeBSD$"); struct devsw *devsw[] = { &host_dev, &userboot_disk, + &vdisk_dev, #if defined(USERBOOT_ZFS_SUPPORT) &zfs_dev, #endif -- cgit v1.2.3