支持UEFI启动

This commit is contained in:
2023-08-09 22:57:14 +08:00
parent 01fe3ed3ab
commit f2d766d0f9
8 changed files with 290 additions and 84 deletions

View File

@@ -119,6 +119,9 @@ int qemu::SetKeyboardPS2(){
int qemu::OpenUSB(){
return 0;
}
int EnabledUEFI(bool status){
int qemu::EnabledUEFI(bool status){
if(status){
commandOption += "--bios /usr/share/qemu/OVMF.fd ";
}
return 0;
}