From: Keir Fraser Subject: Re: HVM and WIndows NT Date: Thu, 06 Aug 2009 17:47:59 +0100 Message-ID: References: <4A7B0369.7060502@artal.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="B_3332425683_31713344" Return-path: In-Reply-To: <4A7B0369.7060502@artal.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alexandre CABROL PERALES Cc: "xen-devel@lists.xensource.com" , mats petersson List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3332425683_31713344 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Attached. K. On 06/08/2009 17:23, "Alexandre CABROL PERALES" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > how can i disable it ? >=20 > can you send me a diff for xen/arch/x86/hvm/stdvga.c >=20 > please. >=20 > Keir Fraser a =E9crit : >> Try disabling the acceleration stuff in xen/arch/x86/hvm/stdvga.c. Shoul= d >> suffice to 'return;' before the for-loop in stdvga_init(). >>=20 >> -- Keir >>=20 >> On 06/08/2009 16:50, "Alexandre CABROL PERALES" >> wrote: >>=20 >> I just installed xen 3.4 >> and now with stdvga=3D0 >> when i try to resize screen resolution the Windows NT crash. >>=20 >> Alexandre CABROL PERALES a =E9crit : >>>>> my main concern is : >>>>> i have to use windows nt in 1280x1024, >>>>> how can i reach this goal with xen 3.3 or upper? >>>>>=20 >>>>> Seems there is a bug in Cirrus Video Card about screen resize. >>>>>=20 >>>>> However there is no bug on this qemu emulation with kvm. >>>>>=20 >>>>> So is there any way to patch qemu-dm video card emulator with current >>>>> qemu version? >>>>>=20 >>>>> or what is the latest version of qemu used to dev qemu-dm? >>>>> I red a doc from 2007 which said that qemu-dm is based on qemu 8. >>>>>=20 >>>>> is it still true? >>>>>=20 >>>>> if not what is the base version of qemu used in qemu-dm for xen 3.3 a= nd >>>>> xen 3.4 ? >>>>>=20 >>>>> regards, >>>>>=20 >>>>> mats petersson a =E9crit : >>>>>> A while (> 2 years ago), I'm sure I ran up Windows NT on Xen 3.0 or >>>>>> 3.1. But that was on an AMD processor, and it's highly likely that t= he >>>>>> BIOS / NT interaction is broken in the Intel only "simulation of >>>>>> real-mode via vritual 8086 mode". The AMD processors support true Re= al >>>>>> Mode in Virtual machine mode. >>>>>>=20 >>>>>> Of course, this may all have changed a huge amount, so do not rely o= n >>>>>> my information. >>>>>>=20 >>>>>> -- >>>>>> Mats >>>>>>=20 >>>>>> 2009/8/6 Alexandre CABROL PERALES : >>>>>> Hi everybody, >>>>>> i'm currently trying to run Windows NT 4.0 on Xen. >>>>>>=20 >>>>>> I can install it with Xen 3.3 and CPUID below: >>>>>> # Intel(R) Pentium(R) 4 CPU >>>>>>=20 >>>>>> cpuid =3D [ >>>>>> '0x00000000:eax=3D0x00000002,ebx=3D0x756e6547,ecx=3D0x6c65746e,edx=3D0x49656= e69', >>>>>>=20 >>>>>> '0x00000001:eax=3D0x00000f12,ebx=3D0x00010808,ecx=3D0x00000000,edx=3D0x3febf= bff', >>>>>>=20 >>>>>> '0x00000002:eax=3D0x665b5001,ebx=3D0x00000000,ecx=3D0x00000000,edx=3D0x007a7= 040', >>>>>>=20 >>>>>> '0x80000000:eax=3D0x80000004,ebx=3D0x00000000,ecx=3D0x00000000,edx=3D0x00000= 000', >>>>>>=20 >>>>>> '0x80000001:eax=3D0x00000000,ebx=3D0x00000000,ecx=3D0x00000000,edx=3D0x00000= 000', >>>>>>=20 >>>>>> '0x80000002:eax=3D0x20202020,ebx=3D0x20202020,ecx=3D0x20202020,edx=3D0x6e492= 020', >>>>>>=20 >>>>>> '0x80000003:eax=3D0x286c6574,ebx=3D0x50202952,ecx=3D0x69746e65,edx=3D0x52286= d75', >>>>>>=20 >>>>>> '0x80000004:eax=3D0x20342029,ebx=3D0x20555043,ecx=3D0x30352e31,edx=3D0x007a4= 847', >>>>>> ] >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> But i have an issue with Video Card emulation of Xen 3.3.1 : >>>>>> when i use Cirrus Logic emulation, >>>>>> during display test the system crash with yellow or green screen. >>>>>>=20 >>>>>> It seems that Cirrus emulation didn't support the resizing. >>>>>>=20 >>>>>> If i try stdvga mode the videocard is not recognised by Windows NT. >>>>>>=20 >>>>>> I tried on KVM and it works fine with cirrus logic emulation. >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Is there any way to update qemu-dm with current qemu version ? >>>>>>=20 >>>>>>=20 >>>>>> regards, >>>>> _______________________________________________ >>>>> Xen-devel mailing list >>>>> Xen-devel@lists.xensource.com >>>>> http://lists.xensource.com/xen-devel >>>>>=20 >>>>>> _______________________________________________ >>>>>> Xen-devel mailing list >>>>>> Xen-devel@lists.xensource.com >>>>>> http://lists.xensource.com/xen-devel >>>>>> . >>>>>=20 >>>=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >> . >=20 >=20 > - -- > Alexandre CABROL PERALES > - -- > Ingenieur Securite des Systemes d'Information > Mob. : 06.98.82.03.06 > Mail : alexandre.cabrol@artal.fr > Key fingerprint =3D 1E6B B8DF 5001 A6A8 E057 9D31 7B3B EAB1 4AE4 8953 > - -- > ARTAL Technologies >=20 > Rue Pierre-Gilles de Gennes > Ens."La Rue", Bat. 9, BP 38138 > 31681 Labege cedex >=20 > Tel. : 05.61.00.39.30 > Fax : 05.61.00.20.43 >=20 >=20 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >=20 > iEYEARECAAYFAkp7A2kACgkQezvqsUrkiVNmEgCcCGW1jEeSYSMF2vIDL7hjGB2D > u+EAn1Ou/YvVqrd30J5mBfGTmdP+02kl > =3Dl9le > -----END PGP SIGNATURE----- --B_3332425683_31713344 Content-type: application/octet-stream; name="stdvga_disable.patch" Content-disposition: attachment; filename="stdvga_disable.patch" Content-transfer-encoding: base64 ZGlmZiAtciBiOWNkY2Y1MDJhYTMgeGVuL2FyY2gveDg2L2h2bS9zdGR2Z2EuYwotLS0gYS94 ZW4vYXJjaC94ODYvaHZtL3N0ZHZnYS5jCVRodSBBdWcgMDYgMTE6MTQ6NDggMjAwOSArMDEw MAorKysgYi94ZW4vYXJjaC94ODYvaHZtL3N0ZHZnYS5jCVRodSBBdWcgMDYgMTc6NDY6MzIg MjAwOSArMDEwMApAQCAtNTk1LDYgKzU5NSw4IEBACiAgICAgbWVtc2V0KHMsIDAsIHNpemVv ZigqcykpOwogICAgIHNwaW5fbG9ja19pbml0KCZzLT5sb2NrKTsKICAgICAKKyAgICByZXR1 cm47CisKICAgICBmb3IgKCBpID0gMDsgaSAhPSBBUlJBWV9TSVpFKHMtPnZyYW1fcGFnZSk7 IGkrKyApCiAgICAgewogICAgICAgICBwZyA9IGFsbG9jX2RvbWhlYXBfcGFnZShOVUxMLCBN RU1GX25vZGUoZG9tYWluX3RvX25vZGUoZCkpKTsK --B_3332425683_31713344 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --B_3332425683_31713344--