From: Andreas Winkelbauer <andreas.winkelbauer@gmx.at>
To: qemu-devel@nongnu.org
Cc: mah@jump-ing.de
Subject: Re: [Qemu-devel] [PATCH] don't die if switching to fullscreen mode fails
Date: Wed, 27 Feb 2008 03:02:15 +0100 [thread overview]
Message-ID: <47C4C4A7.2070808@gmx.at> (raw)
hi,
>> use windowed mode as fallback option if we are already in fullscreen
>> mode and the new resolution is too high and print a message to the
>> console
>
> Do you end up with a window bigger than the screen, then? Is there a
> chance the user can escape from this situation, i.e. reach all parts
> of the virtual screen to find the switch for setting the resolution?
yes, that's true, but it is no problem at all. First of all you can move
the window around so it is possible to reach everything inside the
window. in addition you can always use ctrl+alt+del under windows to
shutdown. under X11 you can always escape using ctrl+alt+backspace.
> Another option would be to simply display an "Out of range error"
> across the screen, like a real monitor would do. Usually, operations
> systems feature a protection against setting a resolution higher than
> supported by hardware already (set back to a lower reolution after
> some delay).
to make that working we would need to know the maximum resolution of the
host display. does qemu store this information somewhere?
but I think this would not work anyway because the guest os might (at
least windows does) crash if qemu resizes the display to an other
resolution than the requested one. so testing if the new resolution is
too high and in case using a lower resolution would crash windows xp, I
have tried that already.
I've extensively tested this patch using windows as guest os and it
works perfectly for me. Maybe somebody could test the patch using other
guest os as well.
cheers,
Andi
next reply other threads:[~2008-02-27 2:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-27 2:02 Andreas Winkelbauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-27 1:19 [Qemu-devel] [PATCH] don't die if switching to fullscreen mode fails Andreas Winkelbauer
2008-02-26 12:48 Andreas Winkelbauer
2008-02-26 12:53 ` Johannes Schindelin
2008-02-26 13:23 ` Markus Hitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47C4C4A7.2070808@gmx.at \
--to=andreas.winkelbauer@gmx.at \
--cc=mah@jump-ing.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.