- Timestamp:
- Oct 25, 2010 9:57:32 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r33364 r33408 396 396 # Enable SCSI drivers 397 397 VBOX_WITH_SCSI = 1 398 # Enable changing network attachments dynamically.399 VBOX_DYNAMIC_NET_ATTACH = 1400 398 # Enable this setting to force a fallback to default DMI data on configuration errors 401 399 VBOX_BIOS_DMI_FALLBACK = -
trunk/src/VBox/Devices/Makefile.kmk
r33400 r33408 323 323 324 324 325 ifdef VBOX_DYNAMIC_NET_ATTACH326 DevicesR3_DEFS += VBOX_DYNAMIC_NET_ATTACH327 endif328 325 ifdef VBOX_BIOS_DMI_FALLBACK 329 326 DevicesR3_DEFS += VBOX_BIOS_DMI_FALLBACK … … 580 577 VMMDev/VMMDevTesting.cpp 581 578 582 ifdef VBOX_DYNAMIC_NET_ATTACH583 VBoxDDGC_DEFS += VBOX_DYNAMIC_NET_ATTACH584 endif585 586 579 ifdef VBOX_WITH_E1000 587 580 VBoxDDGC_DEFS += VBOX_WITH_E1000 … … 707 700 Network/DrvDedicatedNic.cpp 708 701 709 ifdef VBOX_DYNAMIC_NET_ATTACH710 VBoxDDR0_DEFS += VBOX_DYNAMIC_NET_ATTACH711 endif712 713 702 ifdef VBOX_WITH_E1000 714 703 VBoxDDR0_DEFS += VBOX_WITH_E1000 -
trunk/src/VBox/Devices/Network/DevE1000.cpp
r33326 r33408 5298 5298 } 5299 5299 5300 5300 5301 /* -=-=-=-=- PDMDEVREG -=-=-=-=- */ 5301 5302 #ifdef VBOX_DYNAMIC_NET_ATTACH5303 5302 5304 5303 /** … … 5334 5333 PDMCritSectLeave(&pState->cs); 5335 5334 } 5336 5337 5335 5338 5336 /** … … 5411 5409 5412 5410 } 5413 5414 #endif /* VBOX_DYNAMIC_NET_ATTACH */5415 5411 5416 5412 /** … … 5972 5968 /* Resume notification - optional. */ 5973 5969 NULL, 5974 #ifdef VBOX_DYNAMIC_NET_ATTACH5975 5970 /* Attach command - optional. */ 5976 5971 e1kAttach, 5977 5972 /* Detach notification - optional. */ 5978 5973 e1kDetach, 5979 #else /* !VBOX_DYNAMIC_NET_ATTACH */5980 /* Attach command - optional. */5981 NULL,5982 /* Detach notification - optional. */5983 NULL,5984 #endif /* !VBOX_DYNAMIC_NET_ATTACH */5985 5974 /* Query a LUN base interface - optional. */ 5986 5975 NULL, -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r33326 r33408 4826 4826 } 4827 4827 4828 #ifdef VBOX_DYNAMIC_NET_ATTACH4829 4828 4830 4829 /** … … 4926 4925 } 4927 4926 4928 #endif /* VBOX_DYNAMIC_NET_ATTACH */4929 4927 4930 4928 /** … … 5411 5409 /* pfnResume */ 5412 5410 NULL, 5413 #ifdef VBOX_DYNAMIC_NET_ATTACH5414 5411 /* pfnAttach */ 5415 5412 pcnetAttach, 5416 5413 /* pfnDetach */ 5417 5414 pcnetDetach, 5418 #else /* !VBOX_DYNAMIC_NET_ATTACH */5419 /* pfnAttach */5420 NULL,5421 /* pfnDetach */5422 NULL,5423 #endif /* !VBOX_DYNAMIC_NET_ATTACH */5424 5415 /* pfnQueryInterface. */ 5425 5416 NULL, -
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r33326 r33408 1700 1700 } 1701 1701 1702 1702 1703 /* -=-=-=-=- PDMDEVREG -=-=-=-=- */ 1703 1704 #ifdef VBOX_DYNAMIC_NET_ATTACH1705 1704 1706 1705 /** … … 1735 1734 vnetCsLeave(pState); 1736 1735 } 1737 1738 1736 1739 1737 /** … … 1803 1801 1804 1802 } 1805 1806 #endif /* VBOX_DYNAMIC_NET_ATTACH */1807 1803 1808 1804 /** … … 2084 2080 /* Resume notification - optional. */ 2085 2081 NULL, 2086 #ifdef VBOX_DYNAMIC_NET_ATTACH2087 2082 /* Attach command - optional. */ 2088 2083 vnetAttach, 2089 2084 /* Detach notification - optional. */ 2090 2085 vnetDetach, 2091 #else /* !VBOX_DYNAMIC_NET_ATTACH */2092 /* Attach command - optional. */2093 NULL,2094 /* Detach notification - optional. */2095 NULL,2096 #endif /* !VBOX_DYNAMIC_NET_ATTACH */2097 2086 /* Query a LUN base interface - optional. */ 2098 2087 NULL, -
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r33356 r33408 71 71 $(if $(VBOX_WITH_VIDEOHWACCEL), VBOX_WITH_VIDEOHWACCEL) \ 72 72 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \ 73 $(if $(VBOX_WITH_VRDP), VBOX_WITH_VRDP) \ 74 $(if $(VBOX_DYNAMIC_NET_ATTACH), VBOX_DYNAMIC_NET_ATTACH) 73 $(if $(VBOX_WITH_VRDP), VBOX_WITH_VRDP) 75 74 76 75 ifneq ($(KBUILD_TARGET),win) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r33386 r33408 295 295 } 296 296 } 297 #ifdef VBOX_DYNAMIC_NET_ATTACH298 297 /* here the order in which strncmp is called is important 299 298 * cause nictracefile can be very well compared with … … 487 486 } 488 487 } 489 #endif /* VBOX_DYNAMIC_NET_ATTACH */490 488 #ifdef VBOX_WITH_VRDP 491 489 else if ( !strcmp(a->argv[1], "vrde") -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r33406 r33408 389 389 " injectnmi|\n" 390 390 " setlinkstate<1-N> on|off |\n" 391 #ifdef VBOX_DYNAMIC_NET_ATTACH392 391 #if defined(VBOX_WITH_NETFLT) 393 392 " nic<1-N> null|nat|bridged|intnet|hostonly\n" … … 399 398 " nictrace<1-N> on|off\n" 400 399 " nictracefile<1-N> <filename>\n" 401 #endif /* VBOX_DYNAMIC_NET_ATTACH */402 400 " guestmemoryballoon <balloonsize in MB>]\n" 403 401 " gueststatisticsinterval <seconds>]\n" -
trunk/src/VBox/Main/ConsoleImpl.cpp
r33386 r33408 3506 3506 ComAssertRC(vrc); 3507 3507 } 3508 #ifdef VBOX_DYNAMIC_NET_ATTACH3509 3508 if (RT_SUCCESS(vrc) && changeAdapter) 3510 3509 { … … 3528 3527 } 3529 3528 } 3530 #endif /* VBOX_DYNAMIC_NET_ATTACH */3531 3529 } 3532 3530 … … 3546 3544 3547 3545 3548 #ifdef VBOX_DYNAMIC_NET_ATTACH3549 3546 /** 3550 3547 * Process a network adaptor change. … … 3724 3721 return rcRet; 3725 3722 } 3726 #endif /* VBOX_DYNAMIC_NET_ATTACH */3727 3723 3728 3724 -
trunk/src/VBox/Main/Makefile.kmk
r33146 r33408 580 580 endif 581 581 582 ifdef VBOX_DYNAMIC_NET_ATTACH583 VBoxC_DEFS += VBOX_DYNAMIC_NET_ATTACH584 endif585 586 582 VBoxC_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE 587 583 VBoxC_DEFS.win.x86 += _WIN32_WINNT=0x0500 -
trunk/src/VBox/Main/include/ConsoleImpl.h
r33386 r33408 507 507 HRESULT doCPUAdd(ULONG aCpu); 508 508 509 #ifdef VBOX_DYNAMIC_NET_ATTACH510 509 HRESULT doNetworkAdapterChange(const char *pszDevice, unsigned uInstance, 511 510 unsigned uLun, INetworkAdapter *aNetworkAdapter); … … 513 512 unsigned uInstance, unsigned uLun, 514 513 INetworkAdapter *aNetworkAdapter); 515 #endif /* VBOX_DYNAMIC_NET_ATTACH */516 514 517 515 #ifdef VBOX_WITH_USB
Note:
See TracChangeset
for help on using the changeset viewer.