[vbox-dev] [PATCH] VDE native support for VirtualBox v0.1

Michael Thayer Michael.Thayer at Sun.COM
Wed Apr 28 20:00:17 GMT 2010


Hello Alexey,

Le mercredi 28 avril 2010 à 11:40 +0200, Alexey Eremenko a écrit :
> VirtualBox just released  3.2.0 BETA1. But VDE is not enabled by
> default, which is kinda bad...
The main reason that we didn't enable it by default was to keep the
complexity of the GUI down.  If Renzo were able to supply a patch
against VirtualBox trunk for VBoxManage integration we could enable it
but keep it disabled in the GUI (that is, the change included below
removes the option of setting VDE networks from the GUI but still
displays information about them if they are set from elsewhere.  At
least it worked for me, although I'm not too familiar with that part of
the code :) ).

Regards,

Michael

Index: src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp
===================================================================
--- src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp	(révision 60803)
+++ src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp	(copie de travail)
@@ -581,7 +581,7 @@
         KNetworkAttachmentType_HostOnly);
     mCbAttachmentType->setItemData (4,
         mCbAttachmentType->itemText (4), Qt::ToolTipRole);
-#ifdef VBOX_WITH_VDE
+#ifdef VBOX_WITH_VDE_IN_GUI
     mCbAttachmentType->insertItem (5,
         vboxGlobal().toString (KNetworkAttachmentType_VDE));
     mCbAttachmentType->setItemData (5,
-- 
Sun Microsystems GmbH        Michael Thayer
Werkstrasse 24               VirtualBox engineer
71384 Weinstadt, Germany     mailto:michael.thayer at sun.com

Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Jürgen Kunz





More information about the vbox-dev mailing list