components/openstack/nova/patches/01-Solaris-vm_mode.patch
branchs11-update
changeset 3028 5e73a3a3f66a
child 3998 5bd484384122
equal deleted inserted replaced
3027:3bcf7d43558b 3028:5e73a3a3f66a
       
     1 In-house patch to enable Solaris Zones specific vm_mode value for use by the
       
     2 ImagePropertiesFilter scheduling filter.  This patch has not yet been
       
     3 submitted upstream.
       
     4 
       
     5 --- nova-2013.1.4/nova/compute/vm_mode.py.orig	Thu Oct 17 11:25:43 2013
       
     6 +++ nova-2013.1.4/nova/compute/vm_mode.py	Tue Mar  4 23:59:38 2014
       
     7 @@ -33,8 +33,9 @@
       
     8  XEN = "xen"  # Xen 3.0 paravirtualized
       
     9  UML = "uml"  # User Mode Linux paravirtualized
       
    10  EXE = "exe"  # Executables in containers
       
    11 +SOL = "solariszones"  # Solaris zones (non-global and kernel)
       
    12  
       
    13 -ALL = [HVM, XEN, UML, EXE]
       
    14 +ALL = [HVM, XEN, UML, EXE, SOL]
       
    15  
       
    16  
       
    17  def get_from_instance(instance):