WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Configuring qemu-dm for use with HVM domU

To: "Derek" <xen@xxxxxxxxxxxxxxxx>, "xen ml" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Configuring qemu-dm for use with HVM domU
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 23 Jan 2007 17:12:43 +0100
Delivery-date: Tue, 23 Jan 2007 08:18:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <13033e750701230730s64ddd66av2b26b239fe45f88c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc/A9HS8aDSzD40TUyF9ZfKbsYXlAAAD/6A
Thread-topic: [Xen-users] Configuring qemu-dm for use with HVM domU
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Derek
> Sent: 23 January 2007 15:31
> To: xen ml
> Subject: [Xen-users] Configuring qemu-dm for use with HVM domU
> 
> Hi,
> 
> I did a little googling and can't seem to find this answer.
> 
> I want to know about configuration options for the qemu video 
> card emulation, used by my domU HVM client (Win XP).
> 
> Seems like it emulates screen sizes up to 1280x1024 
> (selectable within XP domU in the usual way -- right click on 
> desktop and go to the display properties tab).  But if I 
> select this 1280x1024 size, the resulting X-window on my host 
> display has a strange property:  it has no scroll bars, even 
> when sized to be smaller than the 1280x1024 client window it 
> represents.  Without scroll bars, I can never get to the 
> start button, which is just off the bottom of the screen .  
> So, in effect I can't use 1280x1024, and the next size down 
> is 1024x768 which is much smaller than I'd really like. 

That's presumably because your current display is 1280x1024? I don't see
why else it would do like that [unfortunately, my Linux system is only
equipped with a 1280x1024 display in itself, so I'd be in that same
situation].

I run 1024 x 768, and that's fine by me - but it depends on what you're
doing within the Windows domain (I wouldn't like my "real" windows
machine that I write this on to be 1024 x 768, but my virtual Windows
machine is fine at that res).
> 
> I was wondering if there's a way to either (1) make the qemu 
> display on the host show scroll bars when it's downsized this 
> way, or (2) better still, configure qemu to emulate other 
> custom sizes less than 1280x1024, but greater than 1024x768. 

Although the register (in .../tools/ioemu/hw/cirrus_vga.c) that holds
the width of the resolution is capable of doing any resolotion that is
evenly divisibly by 8, you'll need a driver that can set those values. 

When I used to work with display drivers, you could actually provide a
list to the driver that contained the resolution and frequency, and the
driver would calculate back from that, including really weird stuff like
1408 pixels wide or some such, but I suspect the Cirrus driver that MS
has doesn't quite cope with such advanced features. 

Aha! I just figured out that you can actually get an intermediate size
setting: you'll get 1152 x 864 - however, only in 8-bit per pixel, so
256 colours... I don't know if this works on the "defualt monitor", but
it worked after I selected a different monitor type and selected "List
all modes" from the display control panel... Maybe that will be better
than VNC. 

The other option is of course to use Windows in "Remote Desktop" mode,
where you should be able to set (almost) any size you like... And it's
at least faster than VNC, but may not be as snappy as SDL. 

--
Mats

> 
> If neither of the above are true, my next question is, how 
> are people living with these restrictions?   I could try VNC, 
> but I'd hate to give up the snappy response and high quality 
> picture I see under Qemu.
> 
> Thanks,
> Derek.
> 
> 
> 
> 



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

<Prev in Thread] Current Thread [Next in Thread>