Re: virtinst: acpi/apic == FALSE for Windows XP

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

 



Le mardi 07 juillet 2009 à 18:58, Pasi Kärkkäinen a écrit :
> On Tue, Jul 07, 2009 at 09:53:45AM +0200, Chris Lalancette wrote:
> > Pasi Kärkkäinen wrote:
> > > On Sun, Jul 05, 2009 at 04:50:59PM -0400, Cole Robinson wrote:
> > >> On 07/05/2009 08:27 AM, Guido Günther wrote:
> > >>> On Sat, Jul 04, 2009 at 06:09:01PM +0200, Guido Günther wrote:
> > >>>> Hi,
> > >>>> virtinst has:
> > >>>>
> > >>>> "winxp":{ "label": "Microsoft Windows XP (x86)",
> > >>>>                   "acpi": False, "apic": False },
> > >>>>
> > >>>> I couldn't find any reason for this in the hg logs and
> > >>>>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512439
> > >>>
> > >>> The correct URL is:
> > >>>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533201
> > >>> Cheers,
> > >>>  -- Guido
> > >>
> > >> AFAIK this was done because windows installs on xen used to choke if
> > >> ACPI was enabled. There is an old wiki page corroborating that here,
> > >> no idea if it is still relevant, or if there were other issues at
> > >> play:
> > >>
> > >> http://wiki.xensource.com/xenwiki/XenWindowsACPI
> > >
> > > I think that's obsolete and nowadays ACPI (and APIC) should be enabled
> > > for Xen Windows guests.
> > >
> > > Please correct me if I'm wrong.
> >
> > You are probably correct, although testing (especially on things like
> > RHEL-5 Xen) is in order before making the change for Xen as well.
>
> I actually asked about this on xen-devel, and Keir Fraser replied that ACPI
> with Windows has been working properly at least since Xen 3.1.0 days.

I also installed Windows 2000 Server virtual machines with ACPI enabled on 
Debian Squeeze with Xen 3.2.1 and KVM 85, no problem.

So the attached patch should be applied to virtinst to:
- Enable ACPI and APIC for Windows XP
- Enable ACPI and APIC for Windows 2000
- Merge Windows XP x86 and x86_64 variants because there is no more reason to 
have different variants for the same OS

-- 
Laurent Léonard
diff -r 05ce5fe6ced0 virtinst/osdict.py
--- a/virtinst/osdict.py	Thu Jul 02 12:25:28 2009 -0400
+++ b/virtinst/osdict.py	Wed Jul 08 12:36:51 2009 +0200
@@ -159,11 +159,8 @@
                     "bus"  : [ (["all"], "usb"), ] },
     },
     "variants": { \
-        "winxp":{ "label": "Microsoft Windows XP (x86)",
-                  "acpi": False, "apic": False },
-        "winxp64":{ "label": "Microsoft Windows XP (x86_64)" },
-        "win2k": { "label": "Microsoft Windows 2000",
-                   "acpi": False, "apic": False },
+        "winxp": { "label": "Microsoft Windows XP" },
+        "win2k": { "label": "Microsoft Windows 2000" },
         "win2k3": { "label": "Microsoft Windows 2003" },
         "win2k8": { "label": "Microsoft Windows 2008" },
         "vista": { "label": "Microsoft Windows Vista" },

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux