git: e368fb6eb6eb - main - userboot is missing vdisk_dev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Jun 2022 18:35:20 UTC
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