mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 01:10:01 +01:00
Merge pull request #525 from dag-erling/des/opts
Fix UEFI VM options for modern edk2 versions. Should fix https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273560
This commit is contained in:
@@ -109,7 +109,7 @@ vm::run(){
|
||||
fi
|
||||
|
||||
# default bhyve options
|
||||
_opts="-AHP"
|
||||
_opts="-AHPw"
|
||||
|
||||
# ignore access to unimplemented Model Specific Registers?
|
||||
config::yesno "ignore_msr" && _opts="${_opts}w"
|
||||
@@ -319,7 +319,7 @@ vm::uefi(){
|
||||
_bootrom="${_bootrom},${VM_DS_PATH}/${_name}/uefi-vars.fd"
|
||||
fi
|
||||
|
||||
_opts="-Hwl bootrom,${_bootrom}"
|
||||
_opts="${_opts} -l bootrom,${_bootrom}"
|
||||
_uefi="yes"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user