Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2022 18:35:20 GMT
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e368fb6eb6eb - main - userboot is missing vdisk_dev
Message-ID:  <202206191835.25JIZKH5029587@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tsoome:

URL: https://cgit.FreeBSD.org/src/commit/?id=e368fb6eb6eb3041fa9f4c608377ddf90d33f11e

commit e368fb6eb6eb3041fa9f4c608377ddf90d33f11e
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2022-06-09 06:56:19 +0000
Commit:     Toomas Soome <tsoome@FreeBSD.org>
CommitDate: 2022-06-19 18:29:49 +0000

    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206191835.25JIZKH5029587>