VirtualBox

Changeset 67759 in vbox


Ignore:
Timestamp:
Jul 3, 2017 2:07:23 PM (7 years ago)
Author:
vboxsync
Message:

bugref:8533: Additions/x11: fully support VMSVGA
Use AcquireGuestCaps in the vmsvga VBoxClient service.

This change makes the VBoxClient vmsvga service use the new AcquireGuestCaps
function in the R3 guest library to prevent other clients waiting for
display events. We should change the driver to make this root-only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga.cpp

    r67755 r67759  
    362362    if (RT_FAILURE(rc))
    363363        VBClFatalError(("Failed to request display change events, rc=%Rrc\n", rc));
    364     rc = VbglR3SetGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0);
     364    rc = VbglR3AcquireGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0, false);
     365    if (rc == VERR_RESOURCE_BUSY)  /* Someone else has already acquired it. */
     366        return VINF_SUCCESS;
    365367    if (RT_FAILURE(rc))
    366368        VBClFatalError(("Failed to register resizing support, rc=%Rrc\n", 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