Re: Note on failure w/ qemu < 1.2

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

 



Hey Jeremy,

Thanks  for that detailed analysis, I believe this would be very nice to
have in the commit log.

Christophe

On Wed, Mar 20, 2013 at 03:07:10PM -0500, Jeremy White wrote:
> I discovered late last week that my patch
> beccf8e81ea6bb4c86bcaf3cd4aac5e18f6d3f0d:
>   Establish a preferred default of 1024x768 correctly.
> 
> causes a failure if running a Linux guest VM with an older host qemu
> (qemu < 1.2).
> 
> This comes about because the video ram allocated
> by older qemu versions (8M) is not enough to hold the
> default heads (4) times the default screen size (1024x768).
> 
> It worked previously because the previous code was a bit of a mess; it
> would hard code 1024x768, and it all worked out, because a resize came
> through shortly to 'fix' things.
> 
> After investigating, it appeared to me that the failure was a disconnect
> between our randr code and our screen setup code.  Our randr code was
> acting as though all 4 heads were initially connected, resulting in a
> virtual screen size of 4096x768.
> 
> I believe the patch I submitted prior to this email fixes this
> correctly, by also having the randr code start with only one
> connected monitor.
> 
> Cheers,
> 
> Jeremy
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpF1flxJJqsG.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]