VirtualBox

Ignore:
Timestamp:
Apr 16, 2010 10:45:18 AM (15 years ago)
Author:
vboxsync
Message:

Devices, Main, FE/Qt: re-committed support for VDE virtual network switches for Linux and FreeBSD hosts. Contributed by Renzo Davoli, VirtualSquare, University of Bologna

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r28296 r28406  
    34163416        }
    34173417
     3418#if defined(VBOX_WITH_VDE)
     3419        case NetworkAttachmentType_VDE:
     3420        {
     3421            hrc = aNetworkAdapter->COMGETTER(VDENetwork)(&str);    H();
     3422            rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0);        RC_CHECK();
     3423            rc = CFGMR3InsertString(pLunL0, "Driver", "VDE");      RC_CHECK();
     3424            rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg);        RC_CHECK();
     3425            if (str && *str)
     3426            {
     3427                rc = CFGMR3InsertStringW(pCfg, "Network", str);    RC_CHECK();
     3428                networkName = str;
     3429            }
     3430            STR_FREE();
     3431            break;
     3432        }
     3433#endif
     3434
    34183435        default:
    34193436            AssertMsgFailed(("should not get here!\n"));
     
    34333450        case NetworkAttachmentType_HostOnly:
    34343451        case NetworkAttachmentType_NAT:
     3452#if defined(VBOX_WITH_VDE)
     3453        case NetworkAttachmentType_VDE:
     3454#endif
    34353455        {
    34363456            if (SUCCEEDED(hrc) && SUCCEEDED(rc))
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