1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-27 07:36:50 +00:00

Allow cd(4)/vioscsi(4) in confidential VM mode

This is useful for installation and sometimes for cloud configuration
data. Also, some VMs may use vioscsi(4) disks.

Reasonable deraadt@
This commit is contained in:
sf
2025-11-23 10:32:47 +00:00
parent d509c694e6
commit f4c39256ad
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: vioscsi.c,v 1.37 2025/08/01 14:41:03 sf Exp $ */
/* $OpenBSD: vioscsi.c,v 1.38 2025/11/23 10:32:47 sf Exp $ */
/*
* Copyright (c) 2013 Google Inc.
*
@@ -77,7 +77,7 @@ const struct cfattach vioscsi_ca = {
};
struct cfdriver vioscsi_cd = {
NULL, "vioscsi", DV_DULL,
NULL, "vioscsi", DV_DULL, CD_COCOVM
};
const struct scsi_adapter vioscsi_switch = {

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: cd.c,v 1.266 2022/09/01 13:45:27 krw Exp $ */
/* $OpenBSD: cd.c,v 1.267 2025/11/23 10:32:47 sf Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -152,7 +152,7 @@ const struct cfattach cd_ca = {
};
struct cfdriver cd_cd = {
NULL, "cd", DV_DISK
NULL, "cd", DV_DISK, CD_COCOVM
};
const struct scsi_inquiry_pattern cd_patterns[] = {