components/openstack/nova/patches/01-Solaris-vm_mode.patch
changeset 1760 353323c7bdc1
child 3998 5bd484384122
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openstack/nova/patches/01-Solaris-vm_mode.patch	Mon Mar 17 09:51:44 2014 -0600
@@ -0,0 +1,17 @@
+In-house patch to enable Solaris Zones specific vm_mode value for use by the
+ImagePropertiesFilter scheduling filter.  This patch has not yet been
+submitted upstream.
+
+--- nova-2013.1.4/nova/compute/vm_mode.py.orig	Thu Oct 17 11:25:43 2013
++++ nova-2013.1.4/nova/compute/vm_mode.py	Tue Mar  4 23:59:38 2014
+@@ -33,8 +33,9 @@
+ XEN = "xen"  # Xen 3.0 paravirtualized
+ UML = "uml"  # User Mode Linux paravirtualized
+ EXE = "exe"  # Executables in containers
++SOL = "solariszones"  # Solaris zones (non-global and kernel)
+ 
+-ALL = [HVM, XEN, UML, EXE]
++ALL = [HVM, XEN, UML, EXE, SOL]
+ 
+ 
+ def get_from_instance(instance):