VirtualBox

Changeset 85357 in vbox


Ignore:
Timestamp:
Jul 15, 2020 6:33:39 PM (4 years ago)
Author:
vboxsync
Message:

OCI: (bugref:9469) descriptive error message on trying to run cloud-attached machines without extpack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r85007 r85357  
    58615861            case NetworkAttachmentType_Cloud:
    58625862            {
     5863                static const char *s_pszCloudExtPackName = "Oracle VM VirtualBox Extension Pack";
     5864                /*
     5865                 * Cloud network attachments do not work wihout installed extpack.
     5866                 * Without extpack support they won't work either.
     5867                 */
     5868# ifdef VBOX_WITH_EXTPACK
     5869                if (!mptrExtPackManager->i_isExtPackUsable(s_pszCloudExtPackName))
     5870# endif
     5871                {
     5872                    return VMSetError(VMR3GetVM(mpUVM), VERR_NOT_FOUND, RT_SRC_POS,
     5873                            N_("Implementation of the cloud network attachment not found!\n"
     5874                                "To fix this problem, either install the '%s' or switch to "
     5875                                "another network attachment type in the VM settings.\n"
     5876                                ),
     5877                            s_pszCloudExtPackName);
     5878                }
     5879
    58635880                ComPtr<ICloudNetwork> network;
    58645881                hrc = aNetworkAdapter->COMGETTER(CloudNetwork)(bstr.asOutParam());            H();
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