On 12/23/12 21:33, Alon Levy wrote: > On Thu, Dec 13, 2012 at 03:43:46PM +0100, Gerd Hoffmann wrote: >> Hi, >> >>>> That is indeed a better solution, but it does change functionality. I >>>> think it is correct but I'd like to get some other opinions - Uri, >>>> Arnon, Yonit, Soren - any problems with dropping these? >>>> >>> Orientation is used in the Windows Display driver. It is used to set >>> dmDisplayOrientation in DEVMODEW structure >>> (http://msdn.microsoft.com/en-us/library/windows/hardware/ff552837(v=vs.85).aspx). >> >> What is supposed to happen in case the guest picks a mode with >> orientation != 0? >> >>> So, I'm not sure we can just drop it. Moreover, we need at least 2 of >>> the orientations, one for AxB resolution and the other for BxA. >> >> How do I switch a windows guest into 600x800? > > AFAIR it is just another mode that appears in the mode list, i.e. when > enumerating the modes via the windows API or via the GUI.
That doesn't answer the questions How do I switch winxp (or any other guest) into 600x800, with orientation == 1 (or 3)? Display Properties offer 800x600 only. What is supposed to happen with orientation != 0? orientation isn't used anywhere in qxl. I'm pretty sure spice client doesn't know the windows guest uses a orientation != 0 and thus will not display the screen correctly. cheers, Gerd