VirtualBox

Changeset 59872 in vbox


Ignore:
Timestamp:
Feb 29, 2016 1:49:24 PM (9 years ago)
Author:
vboxsync
Message:

ConsoleImpl2: Fail if invalid Hyper-V debugging options are configured for the VM.

File:
1 edited

Legend:

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

    r59571 r59872  
    11911191                    else if (strKey == "hypercallinterface")
    11921192                        fGimHvHypercallIf = RT_BOOL(strVal.toUInt32());
     1193                    else
     1194                    {
     1195                        AssertMsgFailed(("Unrecognized Hyper-V debug option '%s'\n", strKey.c_str()));
     1196                        return VMR3SetError(pUVM, VERR_INVALID_PARAMETER, RT_SRC_POS,
     1197                                            N_("Unrecognized Hyper-V debug option '%s' in '%s'"), strKey.c_str(),
     1198                                            strDebugOptions.c_str());
     1199                    }
    11931200                } while (uPos != com::Utf8Str::npos);
    11941201
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