VirtualBox

Changeset 105352 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 16, 2024 11:21:19 AM (7 months ago)
Author:
vboxsync
Message:

VMM/VMR3Req,iprt/cdefs.h: Adjustments of VMR3ReqCallUV family to fit darwin/arm64 restrictions. bugref:10725

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r105266 r105352  
    812812                       HRESULT *phrc);
    813813    int i_configMediumProperties(PCFGMNODE pCur, IMedium *pMedium, bool *pfHostIP, bool *pfEncrypted);
     814    /** i_reconfigureMediumAttachment has too many problematic arguments for
     815     * passing directly to VMR3ReqCallUV, so we pack them up. @bugref{10725} */
     816    struct ReconfigureMediumAttachmentArgs
     817    {
     818        const char *pcszDevice;         /**< The name of the controller type. */
     819        unsigned uInstance;             /**< The instance of the controller. */
     820        StorageBus_T enmBus;            /**< The storage bus type of the controller. */
     821        bool fUseHostIOCache;           /**< Use the host I/O cache (disable async I/O). */
     822        bool fBuiltinIOCache;           /**< Use the builtin I/O cache. */
     823        bool fInsertDiskIntegrityDrv;   /**< Flag whether to insert the disk integrity driver into the chain for additionalk debugging aids. */
     824        bool fSetupMerge;               /**< Whether to set up a medium merge */
     825        unsigned uMergeSource;          /**< Merge source image index */
     826        unsigned uMergeTarget;          /**< Merge target image index */
     827        IMediumAttachment *aMediumAtt;  /**< The medium attachment. */
     828        MachineState_T aMachineState;   /**< The current machine state. */
     829    };
    814830    static DECLCALLBACK(int) i_reconfigureMediumAttachment(Console *pThis,
    815831                                                           PUVM pUVM,
    816832                                                           PCVMMR3VTABLE pVMM,
    817                                                            const char *pcszDevice,
    818                                                            unsigned uInstance,
    819                                                            StorageBus_T enmBus,
    820                                                            bool fUseHostIOCache,
    821                                                            bool fBuiltinIoCache,
    822                                                            bool fInsertDiskIntegrityDrv,
    823                                                            bool fSetupMerge,
    824                                                            unsigned uMergeSource,
    825                                                            unsigned uMergeTarget,
    826                                                            IMediumAttachment *aMediumAtt,
    827                                                            MachineState_T aMachineState,
     833                                                           ReconfigureMediumAttachmentArgs const *pArgs,
    828834                                                           HRESULT *phrc);
    829835    static DECLCALLBACK(int) i_changeRemovableMedium(Console *pThis,
     
    892898
    893899    static DECLCALLBACK(int) i_usbAttachCallback(Console *that, PUVM pUVM, PCVMMR3VTABLE pVMM, IUSBDevice *aHostDevice,
    894                                                  PCRTUUID aUuid, const char *aBackend, const char *aAddress,
    895                                                  PCFGMNODE pRemoteCfg, USBConnectionSpeed_T enmSpeed, ULONG aMaskedIfs,
     900                                                 PCRTUUID aUuid, const char *aBackend, const char *aAddress, PCFGMNODE pRemoteCfg,
     901                                                 USBConnectionSpeed_T *penmSpeed, ULONG *pfMaskedIfs,
    896902                                                 const char *pszCaptureFilename);
    897903    static DECLCALLBACK(int) i_usbDetachCallback(Console *that, PUVM pUVM, PCVMMR3VTABLE pVMM, PCRTUUID aUuid);
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