Changeset 18645 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Apr 2, 2009 3:38:31 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r18622 r18645 4853 4853 if (rc == VINF_NAT_DNS) 4854 4854 { 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")); 4857 4857 } 4858 4858 pState->pDrv = (PPDMINETWORKCONNECTOR) -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r18573 r18645 4991 4991 { 4992 4992 #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")); 4995 4995 #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")); 4998 4998 #endif 4999 4999 } -
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r17655 r18645 387 387 388 388 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. */ 389 390 AssertRelease(cChangedFDs >= 0); 391 #endif 390 392 if (cChangedFDs >= 0) 391 393 { … … 397 399 size_t cbRead; 398 400 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 401 403 * device's thread sends before we've entered multiplex, 402 404 * so to avoid false alarm drain pipe here to the very end 403 405 * 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. 406 408 * 407 409 * XXX:Make it reading exactly we need to drain the pipe. … … 564 566 cDroppedPackets++; 565 567 } 566 else 568 else 567 569 { 568 570 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.