Commit 151b9eef authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not generate an error when using vtypes on remote/virt nodes.

parent a5e1e2ee
......@@ -399,9 +399,6 @@ proc tb-make-soft-vtype {name types} {
if {! [info exists hwtypes($type)]} {
perror "\[tb-make-soft-vtype] Invalid hardware type $type."
}
if {$isremote($type)} {
perror "\[tb-make-soft-vtype] Remote type $type not allowed."
}
}
set vtypes($name) [Vtype $name $default_soft_vtype_weight $types]
}
......@@ -416,9 +413,6 @@ proc tb-make-hard-vtype {name types} {
if {! [info exists hwtypes($type)]} {
perror "\[tb-make-hard-vtype] Invalid hardware type $type."
}
if {$isremote($type)} {
perror "\[tb-make-hard-vtype] Remote type $type not allowed."
}
}
set vtypes($name) [Vtype $name $default_hard_vtype_weight $types]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment