VirtualBox

Changeset 24599 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 11, 2009 5:09:45 PM (15 years ago)
Author:
vboxsync
Message:

EFI: Main work for additional firmware types and presence checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r24493 r24599  
    302302            case MODIFYVM_FIRMWARE:
    303303            {
    304                 if (!strcmp(ValueUnion.psz, "efi"))
     304                if (!strcmp(ValueUnion.psz, "efi") || !strcmp(ValueUnion.psz, "efi32"))
    305305                {
    306306                    CHECK_ERROR(machine, COMSETTER(FirmwareType)(FirmwareType_EFI));
     307                }
     308                else if (!strcmp(ValueUnion.psz, "efi64"))
     309                {
     310                    CHECK_ERROR(machine, COMSETTER(FirmwareType)(FirmwareType_EFI64));
     311                }
     312                else if (!strcmp(ValueUnion.psz, "efidual"))
     313                {
     314                    CHECK_ERROR(machine, COMSETTER(FirmwareType)(FirmwareType_EFIDUAL));
    307315                }
    308316                else if (!strcmp(ValueUnion.psz, "bios"))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette