VirtualBox

Changeset 84532 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
May 26, 2020 10:39:05 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138261
Message:

bugref:9745. Added basic support of virtio-scsi controller into OVF export\import.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/ovfreader.cpp

    r82968 r84532  
    662662                            vsys.mapControllers[i.ulInstanceID] = hdc;
    663663                        }
     664                        else if ( i.strResourceSubType.compare("VirtioSCSI", RTCString::CaseInsensitive) == 0 )
     665                        {
     666                            HardDiskController hdc;
     667                            hdc.system = HardDiskController::VIRTIOSCSI;
     668                            hdc.idController = i.ulInstanceID;
     669                            //<rasd:ResourceSubType>VirtioSCSI</rasd:ResourceSubType>
     670                            hdc.strControllerType = i.strResourceSubType;
     671                            vsys.mapControllers[i.ulInstanceID] = hdc;
     672                        }
    664673                        else
    665674                            throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI controllers only, line %d (subtype:%s)"),
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