From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre CABROL PERALES Subject: Re: HVM and WIndows NT Date: Mon, 10 Aug 2009 10:17:18 +0200 Message-ID: <4A7FD78E.9010907@artal.fr> References: <4A7AA8F3.4030908@artal.fr> <4A7BFEDE.6070707@artal.fr> <4A7C53BC.7020803@artal.fr> <4A7C6400.2070103@artal.fr> <4A7C717C.7020704@artal.fr> <4A7C9E55.6070807@artal.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000404070407080202050801" Return-path: In-Reply-To: <4A7C9E55.6070807@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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000404070407080202050801 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is regression bug in QEMU on Cirrus Driver (-vga) See mail attached from qemu mailing list. I need CPUI configuration feature which is available only in xen 3.3 and upper but in need precedent version of ioemu-qemu-xen. Can i build xen 3.3 with ioemu-qemu-xen of 3.2 To run Windows NT properly. I tried to build and run xen-unstable but it fails. moreover this is production use so i don't want to have unstable features= . Can you help me on this point please? Alexandre CABROL PERALES a =E9crit : > I continued to invistigate and found that in qemu: >=20 > Qemu version 0.10.3: > - Fix crash on resolution change -> screen dump -> vga redraw (Avi Ki= vity) >=20 > http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3Dda95f49a9d0bc959= 7bd2c4ab5a7ee9bea7c4b01d >=20 > Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity= ) > The vga screen dump function updates last_width and last_height, but > does not change the DisplaySurface that these variables describe. A > consequent vga_draw_graphic() will therefore fail to resize the surface > and crash. Fix by invalidating the display state after a screen dump, > forcing vga_draw_graphic() to reallocate the DisplaySurface. > Signed-off-by: Avi Kivity > diff --git a/hw/vga.c b/hw/vga.c > index 2a9f4d9..709d6bb 100644 > --- a/hw/vga.c > +++ b/hw/vga.c > @@ -2678,4 +2678,5 @@ static void vga_screen_dump(void *opaque, const > char *filename) > vga_screen_dump_graphic(s, filename); > else > vga_screen_dump_text(s, filename); > + vga_invalidate_display(s); > } >=20 > I compared with xen-3.4 stable vga.c file > xen-3.4.0/tools/ioemu-qemu-xen/hw/vga.c >=20 > And saw lot of differences. >=20 > Which version of qemu has been used to create xen 3.4.0 tools ? >=20 > Alexandre CABROL PERALES a =E9crit : >> just made test with qemu and cirrus 0.9.1 and it works well with resol= ution. >=20 >> My question now is : >> how can i use ioemu-qemu-0.9.1 in xen 3.4 >=20 >> where can i get the corresponding version of ioemu-qemu? >=20 >> Alexandre CABROL PERALES a =E9crit : >>> Can you send me an example please? about the bash sctip call in vm >>> config file. >>> Stefano Stabellini a =E9crit : >>>> On Fri, 7 Aug 2009, Alexandre CABROL PERALES wrote: >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>> >>>>> I made the test with latest version of Qemu, >>>>> and windows nt crash too on screen resol resize. >>>>> >>>>> I'm currently testing vmware graphic driver included in new qemu ve= rsion. >>>>> >>>>> Is there anyway to use Bosch or Vmware driver in Xen ? >>>>> >>>> If you change your VM config file to call a bash script instead of >>>> qemu-dm directly, then in your bash script you call qemu-dm yourself= , >>>> adding: >>>> "-vga vmware"=20 >>>> to the command line parameters, it may work. >>>> _______________________________________________ >>>> 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 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 > . >=20 >=20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel . - -- 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 Rue Pierre-Gilles de Gennes Ens."La Rue", Bat. 9, BP 38138 31681 Labege cedex Tel. : 05.61.00.39.30 Fax : 05.61.00.20.43 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkp/144ACgkQezvqsUrkiVOc5ACgnJGhS7PRnT+xSKi+8kHFQyar odIAnj0k58yJtbUc3pL4Y4XR+1ftINRs =3DJzCm -----END PGP SIGNATURE----- --------------000404070407080202050801 Content-Type: message/rfc822; name="Message joint" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Message joint" X-Account-Key: account2 X-Mozilla-Keys: Received: by albane6.nfrance.com (mbox pop126832) (with Cubic Circle's cucipop (v1.31 1998/05/13) Mon Aug 10 10:05:52 2009) X-From_: qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org Sat Aug 8 13:17:34 2009 Return-Path: Received: from mx-transit7.nfrance.com ([80.247.228.15]) by albane7.nfrance.com (8.14.3/8.13.1/NFrance Mail Server) with ESMTP id n78BHYap060857 for ; Sat, 8 Aug 2009 13:17:34 +0200 (CEST) (envelope-from qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org) Received: from mx1-3.nfrance.com (mx1-3.nfrance.com [80.247.228.2]) by mx-transit7.nfrance.com (8.14.1/8.14.2/NFrance Mail Server) with ESMTP id n78BHV7s054835 for ; Sat, 8 Aug 2009 13:17:31 +0200 (CEST) (envelope-from qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by mx1-3.nfrance.com (8.13.1/8.13.1/NFrance Mail Server) with ESMTP id n78BHThV053854 for ; Sat, 8 Aug 2009 13:17:29 +0200 (CEST) (envelope-from qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org) Received: from localhost ([127.0.0.1]:37068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZjvT-0008Ue-NQ for alexandre.cabrol@artal.fr; Sat, 08 Aug 2009 07:17:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZjtG-0008UW-79 for qemu-devel@nongnu.org; Sat, 08 Aug 2009 07:15:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZjtB-0008UC-Q4 for qemu-devel@nongnu.org; Sat, 08 Aug 2009 07:15:09 -0400 Received: from [199.232.76.173] (port=40587 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZjtA-0008U9-UZ for qemu-devel@nongnu.org; Sat, 08 Aug 2009 07:15:05 -0400 Received: from ra.siriusit.co.uk ([217.207.197.130]:60740) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZjtA-0001gA-Do for qemu-devel@nongnu.org; Sat, 08 Aug 2009 07:15:04 -0400 Received: from [127.0.0.1] (ssh.siriusit.co.uk [192.168.3.106]) by ra.siriusit.co.uk (8.13.3/8.13.3) with ESMTP id n78BECuc008731; Sat, 8 Aug 2009 12:14:12 +0100 Message-ID: <4A7D5E2C.5020608@siriusit.co.uk> Date: Sat, 08 Aug 2009 12:14:52 +0100 From: Mark Cave-Ayland User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Alexandre CABROL PERALES , qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Video Card VMWare driver Windows NT References: <4A7C6964.4070101@artal.fr> <4A7C7EB2.9030303@artal.fr> In-Reply-To: <4A7C7EB2.9030303@artal.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Copy: yes Sender: qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org Errors-To: qemu-devel-bounces+alexandre.cabrol=artal.fr@nongnu.org X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on mx-transit7.nfrance.com Alexandre CABROL PERALES wrote: > i tried latest version of qemu with -vga and it crash on display > resolution switch (eg. switch from 640x480 256bits to 1280x1024 65536bits) > > i tried on 0.9.1 and it works well. > > so maybe there is a bug. I'm currently running an NT4 on kvm-86 for testing various bits and pieces, and that works fine for me - maybe it's a regression between kvm/qemu-kvm? I was unable to get the standard NT4 VGA driver to work in anything other than 16 colours, however I did finally have success with the ReactOS driver VBEMP which can be found here: http://www.geocities.com/bearwindows/vbemp.htm HTH, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 . --------------000404070407080202050801 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 --------------000404070407080202050801--