VirtualBox

Changeset 107198 in vbox


Ignore:
Timestamp:
Nov 29, 2024 5:56:15 PM (7 weeks ago)
Author:
vboxsync
Message:

FE/VBoxManage,Main/Appliance: Add the ability to export and import VMs
which contain an NVMe storage controller. Follow-up changes to include
support for moving a disk to an NVMe controller during import and also
add some missing NVMe support in Appliance::i_importMachineGeneric().
bugref:10159

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r106061 r107198  
    169169    {
    170170        case VirtualSystemDescriptionType_HardDiskControllerIDE:
     171        case VirtualSystemDescriptionType_HardDiskControllerNVMe:
    171172        case VirtualSystemDescriptionType_HardDiskControllerSATA:
    172173        case VirtualSystemDescriptionType_HardDiskControllerSCSI:
     
    10281029                                        case VirtualSystemDescriptionType_HardDiskControllerVirtioSCSI:
    10291030                                            enmStorageBus = StorageBus_VirtioSCSI;
     1031                                            break;
     1032                                        case VirtualSystemDescriptionType_HardDiskControllerNVMe:
     1033                                            enmStorageBus = StorageBus_PCIe;
    10301034                                            break;
    10311035                                        default:  // Not reached since vsdControllerType validated above but silence gcc.
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r106061 r107198  
    40814081            break;
    40824082
     4083        case ovf::HardDiskController::NVMe:
     4084            controllerName  = "NVMe";
     4085            lControllerPort = (int32_t)ulAddressOnParent;
     4086            lDevice         = 0;
     4087            break;
     4088
    40834089        default: break;
    40844090    }
     
    52605266                            hdStorageControllerType = StorageControllerType_VirtioSCSI;
    52615267                            break;
     5268                        case ovf::HardDiskController::NVMe:
     5269                            hdStorageControllerType = StorageControllerType_NVMe;
     5270                            break;
    52625271                        default:
    52635272                            throw setError(E_FAIL,
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