From: Alexandre CABROL PERALES Subject: Re: HVM and WIndows NT Date: Fri, 07 Aug 2009 23:36:21 +0200 Message-ID: <4A7C9E55.6070807@artal.fr> References: <4A7AA8F3.4030908@artal.fr> <4A7BFEDE.6070707@artal.fr> <4A7C53BC.7020803@artal.fr> <4A7C6400.2070103@artal.fr> <4A7C717C.7020704@artal.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4A7C717C.7020704@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: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I continued to invistigate and found that in qemu: Qemu version 0.10.3: - Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivi= ty) http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3Dda95f49a9d0bc9597b= d2c4ab5a7ee9bea7c4b01d 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); } I compared with xen-3.4 stable vga.c file xen-3.4.0/tools/ioemu-qemu-xen/hw/vga.c And saw lot of differences. Which version of qemu has been used to create xen 3.4.0 tools ? Alexandre CABROL PERALES a =E9crit : > just made test with qemu and cirrus 0.9.1 and it works well with resolu= tion. >=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. >=20 >> 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 ver= sion. >>>> >>>> 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. >=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 _______________________________________________ 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 iEYEARECAAYFAkp8nlUACgkQezvqsUrkiVOUtQCfUmsMMdq+T1pa+KHBaxFo6frX MZ4AoIldycgPsZtFqxifmFgyBCJ0Adi4 =3DL0fJ -----END PGP SIGNATURE-----