VirtualBox

Changeset 37328 in vbox


Ignore:
Timestamp:
Jun 6, 2011 11:50:47 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72085
Message:

Solaris/Installer: install NetBow driver with explicit, optional STREAMS driver fallback for newer systems.

Location:
trunk/src/VBox
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxbow.conf

    r37313 r37328  
    11#
    2 # Solaris Host VBoxFlt Configuration
     2# Solaris Host VBoxFlt (Crossbow) Configuration
    33#
    44# Copyright (C) 2008-2010 Oracle Corporation
     
    1818# directory).
    1919#
    20 name="vboxflt" parent="pseudo" instance=0;
     20name="vboxbow" parent="pseudo" instance=0;
    2121
    22 # If the interface being used does not have IPv6 plumbed and you want
    23 # vboxflt to automatically attach to it by checking for Ipv6 stream every
    24 # "ipv6-pollinterval" seconds.
    25 #
    26 # By default this is disabled meaning if the interface does not have Ipv6
    27 # plumbed when the virtual machine starts, guest<->host Ipv6 will not work
    28 # though guest<->remote Ipv6 would work.
    29 #
    30 # Enable if you have a dynamically plumbing/unplumbing Ipv6 interface for
    31 # which you want vboxflt to adjust accordingly, otherwise keep this disabled.
    32 # Enabling this option will have some minor performance penalty.
    33 #ipv6-pollinterval=3;
    34 
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r36686 r37328  
    166166        $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf \
    167167        $(if $(VBOX_WITH_NETFLT),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf) \
     168        $(if $(VBOX_WITH_NETFLT_CROSSBOW),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxbow.conf) \
    168169        $(if $(VBOX_WITH_NETADP),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetAdp/solaris/vboxnet.conf) \
    169170        $(if $(VBOX_WITH_USB),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/solaris/vboxusbmon.conf) \
     
    218219        vboxdrv \
    219220        $(if $(VBOX_WITH_NETFLT),vboxflt,) \
     221        $(if $(VBOX_WITH_NETFLT_CROSSBOW),vboxbow,) \
    220222        $(if $(VBOX_WITH_NETADP),vboxnet,) \
    221223        $(if $(VBOX_WITH_USB),vboxusbmon,) \
     
    225227        vboxdrv.conf \
    226228        $(if $(VBOX_WITH_NETFLT),vboxflt.conf,) \
     229        $(if $(VBOX_WITH_NETFLT_CROSSBOW),vboxbow.conf,) \
    227230        $(if $(VBOX_WITH_NETADP),vboxnet.conf,) \
    228231        $(if $(VBOX_WITH_USB),vboxusbmon.conf,) \
     
    637640        $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_USRSHR_APPS_DIR)/virtualbox.desktop.tmp                            $(SOLARIS_USRSHR_APPS_DIR)/virtualbox.desktop
    638641        $(QUIET)$(RM) -f $(SOLARIS_USRSHR_APPS_DIR)/virtualbox.desktop.tmp
    639         # S10 cannot deal with icon information in virtrtualbox.xml
     642        # S10 cannot deal with icon information in virtualbox.xml
    640643        $(QUIET)$(SED) \
    641644                -e '/<icon/d' \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r37150 r37328  
    162162filelist_fixup prototype '$3 == "platform/i86pc/kernel/drv/vboxflt"'                                   '$6 = "sys"'
    163163filelist_fixup prototype '$3 == "platform/i86pc/kernel/drv/amd64/vboxflt"'                             '$6 = "sys"'
     164
     165# NetFilter vboxbow
     166filelist_fixup prototype '$3 == "platform/i86pc/kernel/drv/vboxbow"'                                   '$6 = "sys"'
     167filelist_fixup prototype '$3 == "platform/i86pc/kernel/drv/amd64/vboxbow"'                             '$6 = "sys"'
    164168
    165169# NetAdapter vboxnet
  • trunk/src/VBox/Installer/solaris/vboxconfig.sh

    r37166 r37328  
    5353
    5454MOD_VBOXFLT=vboxflt
    55 DESC_VBOXFLT="NetFilter"
     55DESC_VBOXFLT="NetFilter (STREAMS)"
     56
     57MOD_VBOXBOW=vboxbow
     58DESC_VBOXBOW="NetFilter (Crossbow)"
    5659
    5760# No Separate VBI since (3.1)
     
    491494    fi
    492495
    493     # Load VBoxNetFlt
    494     if test -f "$DIR_CONF/vboxflt.conf"; then
    495         add_driver "$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP"
    496         load_module "drv/$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP"
     496    # If vboxinst_vboxflt exists or if host is Solaris 10 or S11 versions < snv_159 then load vboxflt driver.
     497    if test -f /etc/vboxinst_vboxflt || test "$HOST_OS_MAJORVERSION" = "5.10" || test "$HOST_OS_MINORVERSION" -lt 159;  then
     498        # Load VBoxNetFlt
     499        if test -f "$DIR_CONF/vboxflt.conf"; then
     500            add_driver "$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP"
     501            load_module "drv/$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP"
     502        fi
     503    else
     504        # Load VBoxNetBow
     505        if test -f "$DIR_CONF/vboxbow.conf"; then
     506            add_driver "$MOD_VBOXBOW" "$DESC_VBOXBOW" "$FATALOP"
     507            load_module "drv/$MOD_VBOXBOW" "$DESC_VBOXBOW" "$FATALOP"
     508        fi
    497509    fi
    498510
     
    568580    unload_module "$MOD_VBOXFLT" "$DESC_VBOXFLT" "$fatal"
    569581    rem_driver "$MOD_VBOXFLT" "$DESC_VBOXFLT" "$fatal"
     582
     583    unload_module "$MOD_VBOXBOW" "$DESC_VBOXBOW" "$fatal"
     584    rem_driver "$MOD_VBOXBOW" "$DESC_VBOXBOW" "$fatal"
    570585
    571586    unload_module "$MOD_VBOXNET" "$DESC_VBOXNET" "$fatal"
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