Add comment which describes the exit status codes returned from
/usr/sbin/bhyve. These are in src/usr.sbin/bhyve/bhyverun.c. Reviewed by: neel
This commit is contained in:
parent
bc18acc0b3
commit
ff5cb9fd50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270512
@ -237,6 +237,14 @@ while [ 1 ]; do
|
||||
-l com1,${console} \
|
||||
${installer_opt} \
|
||||
${vmname}
|
||||
|
||||
# bhyve returns the following status codes:
|
||||
# 0 - VM has been reset
|
||||
# 1 - VM has been powered off
|
||||
# 2 - VM has been halted
|
||||
# 3 - VM generated a triple fault
|
||||
# all other non-zero status codes are errors
|
||||
#
|
||||
if [ $? -ne 0 ]; then
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user