qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Gives user ability to select endian format for video di


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Gives user ability to select endian format for video display - fixes Mac OS X guest color issue.
Date: Wed, 07 Jan 2015 11:35:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0


On 06/01/2015 22:33, G 3 wrote:
> 
> 00:01.0 VGA compatible controller: Technical Corp. Device 1111 (rev
> 02) (prog-if 00 [VGA controller])
>         Subsystem: Qumranet, Inc. Device 1100
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Region 0: Memory at 80000000 (32-bit, prefetchable) [size=16M]
>         Region 2: Memory at 81000000 (32-bit, non-prefetchable) [size=4K]
>         Expansion ROM at 81010000 [disabled] [size=64K]

Yes.  So this is "-vga std", not "-vga cirrus".  In this case, it might
make sense to add a property to the VGA that forces an endianness over
the other, and then to specify that property in order to use Mac OS X.

However, you should specify it whatever the host endianness and the host
OS is.  If this is not the case, you're just exchanging a bug with another.

If something

a) works with Linux host but not with Mac OS X host

b) and works with Linux guest but not with Mac OS X guest

the only logical explanation is that you have more than one bug, and
they somehow cancel each other.  The fix is to find and stomp all the
bugs, not to introduce an option for the cases that end up buggy.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]