[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] Default video model for Windows XP guests



Hi,

9 months ago default video model for Windows guests had been changed to "vga" 
(see http://hg.fedorahosted.org/hg/python-virtinst/rev/07fa54fea9d5).

Windows Server 2003 and Windows 7 seems to work fine with that video model, but 
Windows XP doesn't recognize it. It always ask for a driver, however "cirrus" 
video model works fine with Windows XP.

Perhaps we should go back to "cirrus" as default video model for Windows XP 
(see attached patch) ?

Thank you,
-- 
Laurent Léonard
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -57,6 +57,12 @@ USB_TABLET = {
     ]
 }
 
+CIRRUS_VIDEO = {
+    "model_type": [
+        (HV_ALL, "cirrus")
+    ]
+}
+
 VGA_VIDEO = {
     "model_type": [
         (HV_ALL, "vga"),
@@ -364,6 +370,9 @@ OS_TYPES = {
                   "apic": [
                     (support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),
                   ],
+                  "devices": {
+                      VIDEO: CIRRUS_VIDEO
+                  }
         },
         "winxp64":{ "label": "Microsoft Windows XP (x86_64)" },
         "win2k": { "label": "Microsoft Windows 2000",
@@ -373,6 +382,9 @@ OS_TYPES = {
                   "apic": [
                     (support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),
                   ],
+                  "devices": {
+                      VIDEO: CIRRUS_VIDEO
+                  }
         },
         "win2k3": { "label": "Microsoft Windows 2003" },
         "win2k8": { "label": "Microsoft Windows 2008" },

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]