[Top][All Lists]

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

[Qemu-devel] make stdio monitor default

From: Jim C. Brown
Subject: [Qemu-devel] make stdio monitor default
Date: Fri, 18 Mar 2005 23:17:41 -0500
User-agent: Mutt/1.4i

For all users of qemu, with the exception of those who use Windows as the host
OS, it is better to make the monitor stdio by default. It is easier to debug
bugs in qemu when the monitor and the guest screen can be seen at the same
time, having qemu load the monitor in the terminal where qemu is started makes
it easy to find and figure out how to use (a lot of new users seem to not know
about the monitor until told so), logging of monitor output (state of qemu
guest registers, network status, etc) is a lot easier, etc.

The only reason that qemu has the vc monitor as the default is because on
Windows, qemu either has to be a console app (and thus has very slow output)
or else has to specifically request a console to be used to route stdio to
(involving Windows specific code). Even if this was done, a second console
window tends to be very confusing for new users, so it may do more harm than

I agree that vc should be the default for Windows, but that for Linux (and
Unix) having stdio default would be better. (This is of course a policy
decision, not a coding or feature one, as both stdio and vc can be used in
either Linux or Windows host). It would be nice to get other opinions on this.

The only objection I see to this would be that making vc default only for 
would give qemu the impression of having different interfaces for different
host OSes. I am not sure how this could be dealt with, but I am thinking about

I have attached a very short patch that makes stdio monitor the default except
when qemu is compiled on windows (then the vc monitor (the ctrl-alt-2 version))
is the default.

Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

Attachment: vl.diff
Description: Text document

reply via email to

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