ia64/xen-unstable

changeset 16080:685054d5fa48

xend: Remove unused xoptions.netback_type.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Mon Oct 08 10:57:32 2007 +0100 (2007-10-08)
parents 3d13b318349a
children de68316bd2fa
files tools/python/xen/xend/XendOptions.py tools/python/xen/xend/osdep.py
line diff
     1.1 --- a/tools/python/xen/xend/XendOptions.py	Mon Oct 08 10:55:50 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendOptions.py	Mon Oct 08 10:57:32 2007 +0100
     1.3 @@ -111,9 +111,6 @@ class XendOptions:
     1.4      """Default xend QCoW storage repository location."""
     1.5      xend_storage_path_default = '/var/lib/xend/storage'
     1.6  
     1.7 -    """Default type of backend network interfaces"""
     1.8 -    netback_type = osdep.netback_type
     1.9 -
    1.10      """Default script to configure a backend network interface"""
    1.11      vif_script = osdep.vif_script
    1.12  
     2.1 --- a/tools/python/xen/xend/osdep.py	Mon Oct 08 10:55:50 2007 +0100
     2.2 +++ b/tools/python/xen/xend/osdep.py	Mon Oct 08 10:57:32 2007 +0100
     2.3 @@ -33,10 +33,6 @@ import os
     2.4      "SunOS": "/usr/lib/xen/bin/pygrub"
     2.5  }
     2.6  
     2.7 -_netback_type = {
     2.8 -    "SunOS": "SUNW_mac"
     2.9 -}
    2.10 -
    2.11  _vif_script = {
    2.12      "SunOS": "vif-vnic"
    2.13  }
    2.14 @@ -96,6 +92,5 @@ def _get(var, default=None):
    2.15  scripts_dir = _get(_scripts_dir, "/etc/xen/scripts")
    2.16  xend_autorestart = _get(_xend_autorestart)
    2.17  pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub")
    2.18 -netback_type = _get(_netback_type, "netfront")
    2.19  vif_script = _get(_vif_script, "vif-bridge")
    2.20  lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat)