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

Re: [Xen-devel] HVM and WIndows NT



-----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 Kivity)

http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=da95f49a9d0bc9597bd2c4ab5a7ee9bea7c4b01d

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 écrit :
> just made test with qemu and cirrus 0.9.1 and it works well with resolution.
> 
> My question now is :
> how can i use ioemu-qemu-0.9.1 in xen 3.4
> 
> where can i get the corresponding version of ioemu-qemu?
> 
> Alexandre CABROL PERALES a écrit :
>> Can you send me an example please? about the bash sctip call in vm
>> config file.
> 
>> Stefano Stabellini a écrit :
>>> 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 version.
>>>>
>>>> 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" 
>>> to the command line parameters, it may work.
> 
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel
>>> .
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> .
> 
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

.


- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information
Mob. :    06.98.82.03.06
Mail :    alexandre.cabrol@xxxxxxxx
Key fingerprint = 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
=L0fJ
-----END PGP SIGNATURE-----

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.