mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Make sure cfi.pflash01always has the secure property set
This commit is contained in:
parent
b9f90d12c3
commit
9b96f899ad
1 changed files with 3 additions and 2 deletions
5
quickemu
5
quickemu
|
@ -800,8 +800,9 @@ function vm_boot() {
|
|||
# - https://turlucode.com/qemu-disk-io-performance-comparison-native-or-threads-windows-10-version/
|
||||
if [[ "${boot}" == *"efi"* ]]; then
|
||||
# shellcheck disable=SC2054
|
||||
args+=(-drive if=pflash,format=raw,file="${EFI_CODE}",readonly=on
|
||||
-drive if=pflash,format=raw,file="${EFI_VARS}")
|
||||
args+=(-global driver=cfi.pflash01,property=secure,value=on
|
||||
-drive if=pflash,format=raw,unit=0,file="${EFI_CODE}",readonly=on
|
||||
-drive if=pflash,format=raw,unit=1,file="${EFI_VARS}")
|
||||
fi
|
||||
|
||||
if [ -n "${floppy}" ]; then
|
||||
|
|
Loading…
Reference in a new issue