qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic


From: Stefan Weil
Subject: Re: [Qemu-devel] handling SIGWINCH with qemu -nographic
Date: Tue, 16 Oct 2007 22:51:29 +0200
User-agent: IceDove 1.5.0.12 (X11/20070607)

Jeff Carr schrieb:
> On 10/15/07 19:32, Paul Brook wrote:
>
>> qemu emulates a real machine. Signals are an operating system
>> concept, so your
>> question makes no sense. Configure your guest OS exactly the same way
>> you
>> would a real machine with a serial console.
>
> OK. I thought there might be a way.
I think your question is quite reasonable. Imagine a Linux host
running X Windows and a terminal like xterm or kconsole.
Then run a program like "top" or "less" in this terminal.
When a user changes the size of the console window, top, less
and other console applications get notified of this change by SIGWINCH.

Now run a similar program using QEMU's user mode emulation.
Why should it not be possible to get SIGWINCH in QEMU and
pass it on to the program in user mode emulation, so it can
behave like a native Linux application and change its appearance?

I don't think that implementing this is very difficult, so it will be
done.


Regards
Stefan





reply via email to

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