VirtualBox

Changeset 54970 in vbox for trunk/src/VBox/Runtime/r3/linux


Ignore:
Timestamp:
Mar 26, 2015 3:57:35 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99228
Message:

AsyncCompletion: Better error message if I/O manager could not be created due to insufficient host limits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp

    r45678 r54970  
    55
    66/*
    7  * Copyright (C) 2006-2011 Oracle Corporation
     7 * Copyright (C) 2006-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    231231    int rc = syscall(__NR_io_setup, cEvents, pAioContext);
    232232    if (RT_UNLIKELY(rc == -1))
    233         return RTErrConvertFromErrno(errno);
     233    {
     234        if (errno == EAGAIN)
     235            return VERR_FILE_AIO_INSUFFICIENT_EVENTS;
     236        else
     237            return RTErrConvertFromErrno(errno);
     238    }
    234239
    235240    return VINF_SUCCESS;
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