From: Jason Wessel <jason.wessel@windriver.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] add serial port mux for debug monitor support
Date: Sun, 02 Jul 2006 07:41:56 -0500 [thread overview]
Message-ID: <44A7BF14.4010406@windriver.com> (raw)
In-Reply-To: <44A6D9E1.3040104@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
Following up to my last patch, I noticed a break; statement was missing
and cause a bit of a problem with the -echr option.
Fix is attached.
signed-off-by: jason.wessel@windriver.com
Jason Wessel wrote:
> There are two patches attached to show the logical progress of the
> code and in the case that one is not accepted the work is more easily
> broken down.
>
> The serial_mux_driver.patch must be applied first. It adds a generic
> mux support for the I/O drivers internal to vl.c. The main purpose is
> to use it for switching on the monitor. Basically it allows more than
> one driver to register an fd_read and fd_can_read routine. Of course
> the mux support is generic and could easily be used for other sorts of
> I/O. This patch also adds the new options:
>
> -echr ascii_value -- Allow you to use a different control character
> other than Control-a
> -serial mon:device_string -- Multiplex the device_string with the
> monitor functionality
>
> The second patch fully abstracts the monitor so that the monitor can
> be used on more than one serial port at the same time as well as
> having a separate dedicated monitor. I also removed the stdio
> splitting from the stdio driver. The mux driver can be used to
> replace any functionality that I missed.
>
> signed-off-by: jason.wessel@windriver.com
>
> Jason.
[-- Attachment #2: missing_break.patch --]
[-- Type: text/plain, Size: 492 bytes --]
Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c
+++ qemu/vl.c
@@ -6036,6 +6036,7 @@ int main(int argc, char **argv)
term_escape_char = strtol(optarg, &r, 0);
if (r == optarg)
printf("Bad argument to echr\n");
+ break;
}
case QEMU_OPTION_monitor:
pstrcpy(monitor_device, sizeof(monitor_device), optarg);
prev parent reply other threads:[~2006-07-02 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-01 20:24 [Qemu-devel] [PATCH] add serial port mux for debug monitor support Jason Wessel
2006-07-02 12:41 ` Jason Wessel [this message]
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=44A7BF14.4010406@windriver.com \
--to=jason.wessel@windriver.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).