VirtualBox

Changeset 51237 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
May 12, 2014 4:03:19 PM (11 years ago)
Author:
vboxsync
Message:

Devices/Graphics/VGA: don't panic on VERR_PDM_NO_ATTACHED_DRIVER (e.g. tstVMM)

File:
1 edited

Legend:

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

    r51217 r51237  
    68056805            pThis->pMediaNotify = PDMIBASE_QUERY_INTERFACE(pBase, PDMIMEDIANOTIFY);
    68066806        }
    6807         else if (rc != VERR_PDM_NO_ATTACHED_DRIVER)
     6807        else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
     6808        {
     6809            Log(("%s/%d: warning: no driver attached to LUN #0!\n", pDevIns->pReg->szName, pDevIns->iInstance));
     6810            rc = VINF_SUCCESS;
     6811        }
     6812        else
    68086813        {
    68096814            AssertMsgFailed(("Failed to attach to status driver. rc=%Rrc\n", rc));
    6810             return PDMDEV_SET_ERROR(pDevIns, rc, N_("AHCI cannot attach to status driver"));
     6815            rc = PDMDEV_SET_ERROR(pDevIns, rc, N_("VGA cannot attach to status driver"));
    68116816        }
    68126817    }
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