Skip to content

Commit 836c548

Browse files
committed
Skip TAP device validation for cvdalloc launches.
1 parent 52584f3 commit 836c548

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

base/cvd/cuttlefish/host/commands/run_cvd/validate.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ namespace cuttlefish {
3737
static Result<void> TestTapDevices(
3838
const CuttlefishConfig::InstanceSpecific& instance) {
3939
#ifdef __linux__
40-
if (InSandbox()) {
40+
if (InSandbox()
41+
|| instance.use_cvdalloc()) { // cvdalloc owns its own resources. those resources can't be validated this way.
4142
return {};
4243
}
4344
auto wifi = instance.wifi_tap_name();

0 commit comments

Comments
 (0)