Changeset 18645 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 2, 2009 3:38:31 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r12978 r18645 1680 1680 ac97Reset (pDevIns); 1681 1681 1682 PDMDevHlpVMSetRuntimeError (pDevIns, false, "HostAudioNotResponding",1682 PDMDevHlpVMSetRuntimeError (pDevIns, 0 /*fFlags*/, "HostAudioNotResponding", 1683 1683 N_ ("No audio devices could be opened. Selecting the NULL audio backend " 1684 1684 "with the consequence that no sound is audible")); … … 1696 1696 len += RTStrPrintf (szMissingVoices + len, sizeof(szMissingVoices) - len, len ? ", PCM_mic" : "PCM_mic"); 1697 1697 1698 PDMDevHlpVMSetRuntimeError (pDevIns, false, "HostAudioNotResponding",1698 PDMDevHlpVMSetRuntimeError (pDevIns, 0 /*fFlags*/, "HostAudioNotResponding", 1699 1699 N_ ("Some audio devices (%s) could not be opened. Guest applications generating audio " 1700 1700 "output or depending on audio input may hang. Make sure your host audio device " -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r18497 r18645 1836 1836 s->voice = NULL; 1837 1837 AUD_init_null(); 1838 PDMDevHlpVMSetRuntimeError(pDevIns, false, "HostAudioNotResponding",1838 PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "HostAudioNotResponding", 1839 1839 N_("No audio devices could be opened. Selecting the NULL audio backend " 1840 1840 "with the consequence that no sound is audible")); -
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)); -
trunk/src/VBox/Devices/Serial/DrvHostSerial.cpp
r16527 r18645 974 974 { 975 975 ioctl_error: 976 PDMDrvHlpVMSetRuntimeError(pDrvIns, false, "DrvHostSerialFail",976 PDMDrvHlpVMSetRuntimeError(pDrvIns, 0 /*fFlags*/, "DrvHostSerialFail", 977 977 N_("Ioctl failed for serial host device '%s' (%Rrc). The device will not work properly"), 978 978 pThis->pszDevicePath, RTErrConvertFromErrno(errno)); … … 990 990 if (rc < 0) 991 991 { 992 PDMDrvHlpVMSetRuntimeError(pDrvIns, false, "DrvHostSerialFail",992 PDMDrvHlpVMSetRuntimeError(pDrvIns, 0 /*fFlags*/, "DrvHostSerialFail", 993 993 N_("Ioctl failed for serial host device '%s' (%Rrc). The device will not work properly"), 994 994 pThis->pszDevicePath, RTErrConvertFromErrno(errno)); … … 1092 1092 1093 1093 ioctl_error: 1094 PDMDrvHlpVMSetRuntimeError(pDrvIns, false, "DrvHostSerialFail",1094 PDMDrvHlpVMSetRuntimeError(pDrvIns, 0 /*fFlags*/, "DrvHostSerialFail", 1095 1095 N_("Ioctl failed for serial host device '%s' (%Rrc). The device will not work properly"), 1096 1096 pThis->pszDevicePath, RTErrConvertFromErrno(errno)); … … 1112 1112 rc = RTThreadPoke(pThread->Thread); 1113 1113 if (RT_FAILURE(rc)) 1114 PDMDrvHlpVMSetRuntimeError(pDrvIns, false, "DrvHostSerialFail",1114 PDMDrvHlpVMSetRuntimeError(pDrvIns, 0 /*fFlags*/, "DrvHostSerialFail", 1115 1115 N_("Suspending serial monitor thread failed for serial device '%s' (%Rrc). The shutdown may take longer than expected"), 1116 1116 pThis->pszDevicePath, RTErrConvertFromErrno(rc)); -
trunk/src/VBox/Devices/Storage/DevATA.cpp
r18434 r18645 1370 1370 int rc; 1371 1371 LogRel(("PIIX3 ATA: Host disk full\n")); 1372 rc = VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), 1373 false, "DevATA_DISKFULL", 1374 N_("Host system reported disk full. VM execution is suspended. You can resume after freeing some space")); 1372 rc = PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "DevATA_DISKFULL", 1373 N_("Host system reported disk full. VM execution is suspended. You can resume after freeing some space")); 1375 1374 AssertRC(rc); 1376 1375 } … … 1380 1379 int rc; 1381 1380 LogRel(("PIIX3 ATA: File too big\n")); 1382 rc = VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), 1383 false, "DevATA_FILETOOBIG", 1384 N_("Host system reported that the file size limit of the host file system has been exceeded. VM execution is suspended. You need to move your virtual hard disk to a filesystem which allows bigger files")); 1381 rc = PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "DevATA_FILETOOBIG", 1382 N_("Host system reported that the file size limit of the host file system has been exceeded. VM execution is suspended. You need to move your virtual hard disk to a filesystem which allows bigger files")); 1385 1383 AssertRC(rc); 1386 1384 } … … 1390 1388 int rc; 1391 1389 LogRel(("PIIX3 ATA: iSCSI target unavailable\n")); 1392 rc = VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), 1393 false, "DevATA_ISCSIDOWN", 1394 N_("The iSCSI target has stopped responding. VM execution is suspended. You can resume when it is available again")); 1390 rc = PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "DevATA_ISCSIDOWN", 1391 N_("The iSCSI target has stopped responding. VM execution is suspended. You can resume when it is available again")); 1395 1392 AssertRC(rc); 1396 1393 } … … 5239 5236 if (!ataWaitForAsyncIOIsIdle(&pThis->aCts[i], 30000)) 5240 5237 { 5241 VMSetRuntimeError(PDMDevHlpGetVM(pDevIns), 5242 false, "DevATA_ASYNCBUSY", 5243 N_("The IDE async I/O thread remained busy after a reset, usually a host filesystem performance problem\n")); 5238 PDMDevHlpVMSetRuntimeError(pDevIns, 0 /*fFlags*/, "DevATA_ASYNCBUSY", 5239 N_("The IDE async I/O thread remained busy after a reset, usually a host filesystem performance problem\n")); 5244 5240 AssertMsgFailed(("Async I/O thread busy after reset\n")); 5245 5241 } -
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r18440 r18645 1973 1973 if (pThis->fAttachFailError) 1974 1974 return rc; 1975 int erc = PDMDrvHlpVMSetRuntimeError(pDrvIns, 1976 false,"DrvHost_MOUNTFAIL",1975 int erc = PDMDrvHlpVMSetRuntimeError(pDrvIns, 0 /*fFlags*/, 1976 "DrvHost_MOUNTFAIL", 1977 1977 N_("Cannot attach to host device '%s'"), pszDevice); 1978 1978 AssertRC(erc);
Note:
See TracChangeset
for help on using the changeset viewer.