VirtualBox

Changeset 17753 in vbox


Ignore:
Timestamp:
Mar 12, 2009 2:33:49 PM (16 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: when adding iSCSI disks include the LUN in the location, otherwise disks on the same target with different LUN are rejected.

File:
1 edited

Legend:

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

    r17654 r17753  
    705705    {
    706706        ComPtr<IHardDisk> hardDisk;
     707        /** @todo move the location stuff to Main, which can use pfnComposeName
     708         * from the disk backends to construct the location properly. */
    707709        CHECK_ERROR_BREAK (a->virtualBox,
    708710            CreateHardDisk(Bstr ("iSCSI"),
    709                            BstrFmt ("%ls/%ls", server.raw(), target.raw()),
     711                           BstrFmt ("%ls/%ls/%ls", server.raw(), target.raw(), lun.raw()),
    710712                           hardDisk.asOutParam()));
    711713        CheckComRCBreakRC (rc);
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