Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
083db958
Commit
083db958
authored
Aug 27, 2012
by
Leigh B Stoller
Browse files
Do not rely on nextosid when what we really need to use is
def_parentosid, since that is how ptopgen operates.
parent
53cfe6f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libvtop_test.pm.in
View file @
083db958
...
...
@@ -1285,6 +1285,15 @@ sub LoadVirtNodes($)
}
$
vnode
->
_parent_osinfo
($
osinfo
);
}
elsif
($
isvirt
&&
defined
($
vnode
->
_osinfo
()->
def_parentosid
()))
{
my
$
osinfo
=
OSinfo
->
Lookup
($
vnode
->
_osinfo
()->
def_parentosid
());
if
(
!defined($osinfo)) {
tberror
(
"Invalid def_parentosid in "
.
$
vnode
->
_osinfo
()
.
"
\n
"
);
return
-
1
;
}
$
vnode
->
_parent_osinfo
($
osinfo
);
}
#
#
Add
in
desires
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment