VirtualBox

Ignore:
Timestamp:
Nov 30, 2018 7:26:42 PM (6 years ago)
Author:
vboxsync
Message:

GuestControl,HGCM,VBoxService: Save/restore related optimizations and changes. bugref:9313

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r75824 r75853  
    322322     * uint64_t is ~8U).
    323323     *
     324     * Does also support the VM restore checking as in GUEST_MSG_PEEK_WAIT (64-bit
     325     * param \# 0), see documentation there.
     326     *
    324327     * @retval  VINF_SUCCESS if a message was pending and is being returned.
    325328     * @retval  VERR_TRY_AGAIN if no message pending.
     329     * @retval  VERR_VM_RESTORED if first parameter is a non-zero 64-bit value that
     330     *          does not match VbglR3GetSessionId() any more.  The new value is
     331     *          returned.
    326332     * @retval  VERR_INVALID_CLIENT_ID
    327333     * @retval  VERR_WRONG_PARAMETER_COUNT
     
    338344     * uint64_t is ~8U).
    339345     *
     346     * To facilitate VM restore checking, the first parameter can be a 64-bit
     347     * integer holding the VbglR3GetSessionId() value the guest knowns.  The
     348     * function will then check this before going to sleep and return
     349     * VERR_VM_RESTORED if it doesn't match, same thing happens when the VM is
     350     * restored.
     351     *
    340352     * @retval  VINF_SUCCESS if info about an pending message is being returned.
    341353     * @retval  VINF_TRY_AGAIN and message set to HOST_CANCEL_PENDING_WAITS if
    342354     *          cancelled by GUEST_MSG_CANCEL.
    343355     * @retval  VERR_RESOURCE_BUSY if another thread already made a waiting call.
     356     * @retval  VERR_VM_RESTORED if first parameter is a non-zero 64-bit value that
     357     *          does not match VbglR3GetSessionId() any more.  The new value is
     358     *          returned.
    344359     * @retval  VERR_INVALID_CLIENT_ID
    345360     * @retval  VERR_WRONG_PARAMETER_COUNT
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