[et-mgmt-tools] [PATCH] Solaris HVM support

john.levon at sun.com john.levon at sun.com
Thu Dec 4 04:31:20 UTC 2008


# HG changeset patch
# User john.levon at sun.com
# Date 1228365030 28800
# Node ID 7dd32b4d7915937025f42c3519711db50e5a7ce3
# Parent  9e299e5ee2b46b8c3b737d5394498a855f553bae
Solaris HVM support

Make 'solaris' a first-class OS type, and select USB tablet support for
the appropriate variants.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/virtinst/osdict.py b/virtinst/osdict.py
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -107,11 +107,29 @@ OS_TYPES = {\
     },
 },
 
+"solaris": {
+    "label": "Solaris",
+    "clock": "localtime",
+    "variants": {
+        "solaris9": { "label": "Sun Solaris 9", },
+        "solaris10": { "label": "Sun Solaris 10",
+                       "devices" : { "input" : {
+                         "type" : [ (["all"], "tablet") ],
+                         "bus"  : [ (["all"], "usb"), ]
+                         } },
+                       },
+        "opensolaris": { "label": "Sun OpenSolaris",
+                       "devices" : { "input" : {
+                           "type" : [ (["all"], "tablet") ],
+                           "bus"  : [ (["all"], "usb"), ]
+                         } },
+                       },
+    },
+},
+
 "unix": {
     "label": "UNIX",
     "variants": { \
-        "solaris9": { "label": "Sun Solaris 9" },
-        "solaris10": { "label": "Sun Solaris 10" },
         "freebsd6": { "label": "Free BSD 6.x" ,
                       # http://www.nabble.com/Re%3A-Qemu%3A-bridging-on-FreeBSD-7.0-STABLE-p15919603.html
                       "devices" : {




More information about the et-mgmt-tools mailing list