VirtualBox

Changeset 91670 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Oct 11, 2021 7:35:02 PM (3 years ago)
Author:
vboxsync
Message:

Additions: X11: VMSVGA: gracefully exit VBoxClient process if has been VBoxDRMClient started, bugref:9637.

This commit fixes regression introduced in r141338. VBoxClient (--vmsvga) and VBoxDRMClient
processes cannot ran in parallel. Only one process is allowed to do VbglR3AcquireGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS).
Therefore, once VBoxDRMClient takes over, VBoxClient should be terminated.

File:
1 edited

Legend:

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

    r90629 r91670  
    739739    {
    740740        rc = VbglR3DrmClientStart();
    741         if (RT_FAILURE(rc))
     741        if (RT_SUCCESS(rc))
     742        {
     743            VBClLogInfo("VBoxDrmClient has been successfully started, exitting parent process\n");
     744            exit(0);
     745        }
     746        else
     747        {
    742748            VBClLogError("Starting DRM resizing client failed with %Rrc\n", rc);
     749        }
    743750        return rc;
    744751    }
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