VirtualBox

Changeset 56797 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 3, 2015 5:54:05 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101447
Message:

DevVGA: log VBVA enable failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r56785 r56797  
    20442044                Assert(!vboxCmdVBVAIsEnabled(pVGAState));
    20452045#endif
    2046                 vbvaEnable (iView, pVGAState, pCtx, pView->vbva.guest.pVBVA, pView->vbva.u32VBVAOffset, true /* fRestored */);
    2047                 vbvaResize (pVGAState, pView, &pView->screen);
     2046                int rc = vbvaEnable(iView, pVGAState, pCtx, pView->vbva.guest.pVBVA, pView->vbva.u32VBVAOffset, true /* fRestored */);
     2047                if (RT_SUCCESS(rc))
     2048                {
     2049                    vbvaResize(pVGAState, pView, &pView->screen);
     2050                }
     2051                else
     2052                {
     2053                    LogRel(("VBVA: can not restore: %Rrc\n", rc));
     2054                }
    20482055            }
    20492056        }
     
    23282335                rc = VERR_INVALID_PARAMETER;
    23292336            }
     2337        }
     2338
     2339        if (RT_FAILURE(rc))
     2340        {
     2341            LogRel(("VBVA: can not enable: %Rrc\n", rc));
    23302342        }
    23312343    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette