VirtualBox

Changeset 18645 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Apr 2, 2009 3:38:31 PM (16 years ago)
Author:
vboxsync
Message:

VMSetRuntimeError[V] refactoring: fFatal -> fFlags, may return informational status codes.

Location:
trunk/src/VBox/Devices/Network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000.cpp

    r18622 r18645  
    48534853        if (rc == VINF_NAT_DNS)
    48544854        {
    4855             VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), false, "NoDNSforNAT",
    4856                               N_("A Domain Name Server (DNS) for NAT networking could not be determined. Ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
     4855            PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "NoDNSforNAT",
     4856                                       N_("A Domain Name Server (DNS) for NAT networking could not be determined. Ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
    48574857        }
    48584858        pState->pDrv = (PPDMINETWORKCONNECTOR)
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r18573 r18645  
    49914991        {
    49924992#ifdef RT_OS_LINUX
    4993             VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), false, "NoDNSforNAT",
    4994                               N_("A Domain Name Server (DNS) for NAT networking could not be determined. Please check your /etc/resolv.conf for <tt>nameserver</tt> entries. Either add one manually (<i>man resolv.conf</i>) or ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
     4993            PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "NoDNSforNAT",
     4994                                       N_("A Domain Name Server (DNS) for NAT networking could not be determined. Please check your /etc/resolv.conf for <tt>nameserver</tt> entries. Either add one manually (<i>man resolv.conf</i>) or ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
    49954995#else
    4996             VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), false, "NoDNSforNAT",
    4997                               N_("A Domain Name Server (DNS) for NAT networking could not be determined. Ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
     4996            PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "NoDNSforNAT",
     4997                                       N_("A Domain Name Server (DNS) for NAT networking could not be determined. Ensure that your host is correctly connected to an ISP. If you ignore this warning the guest will not be able to perform nameserver lookups and it will probably observe delays if trying so"));
    49984998#endif
    49994999        }
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r17655 r18645  
    387387
    388388        int cChangedFDs = poll(polls, nFDs + 1, ms ? ms : -1);
     389#ifndef RT_OS_LINUX /* 2.6.23 + gdb -> hitting all the time. probably a bug in poll/ptrace/whatever. */
    389390        AssertRelease(cChangedFDs >= 0);
     391#endif
    390392        if (cChangedFDs >= 0)
    391393        {
     
    397399                size_t cbRead;
    398400                int counter = 0;
    399                 /* 
    400                  * drvNATSend decoupled so we don't know how many times 
     401                /*
     402                 * drvNATSend decoupled so we don't know how many times
    401403                 * device's thread sends before we've entered multiplex,
    402404                 * so to avoid false alarm drain pipe here to the very end
    403405                 *
    404                  * @todo: Probably we should counter drvNATSend to count how 
    405                  * deep pipe has been filed before drain. 
     406                 * @todo: Probably we should counter drvNATSend to count how
     407                 * deep pipe has been filed before drain.
    406408                 *
    407409                 * XXX:Make it reading exactly we need to drain the pipe.
     
    564566        cDroppedPackets++;
    565567    }
    566     else 
     568    else
    567569    {
    568570        LogRel(("NAT: %d messages suppressed about dropping package (couldn't allocate queue item)\n", cDroppedPackets));
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