From: Richard Weinberger <richard@nod.at>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Al Viro <viro@zeniv.linux.org.uk>
Subject: Re: [PATCH] um: change defconfig to stop spawning xterm
Date: Fri, 19 Jul 2013 20:44:15 +0200 [thread overview]
Message-ID: <51E988FF.9010201@nod.at> (raw)
In-Reply-To: <1374258017-19606-1-git-send-email-artagnon@gmail.com>
Am 19.07.2013 20:20, schrieb Ramkumar Ramachandra:
> The default configuration dictates that um Linux will launch xterms
> connected to various tty devices on the host. It makes more sense to
> connect to /dev/pts/N, so that the host can:
>
> $ screen /dev/pts/N
>
> or
>
> $ minicom /dev/pts/N
>
> to start talking to the guest session. Note that
> con0 (CONFIG_CON_ZERO_CHAN) still defaults to "fd:0,fd:1", printing boot
> messages on the same terminal.
Makes sense. Queued for 3.12.
Thanks,
//richard
> Cc: Al Viro <viro@zeniv.linux.org.uk>
> Cc: Richard Weinberger <richard@nod.at>
> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> ---
> Further, I will patch systemd to getty on con0 when um Linux is
> detected. Thanks for all the help, and sorry I took so long to
> figure it out.
>
> Applies on top of the patch I sent earlier.
>
> arch/um/configs/i386_defconfig | 2 +-
> arch/um/configs/x86_64_defconfig | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/um/configs/i386_defconfig b/arch/um/configs/i386_defconfig
> index 995aecd..74d8823 100644
> --- a/arch/um/configs/i386_defconfig
> +++ b/arch/um/configs/i386_defconfig
> @@ -278,7 +278,7 @@ CONFIG_TTY_CHAN=y
> CONFIG_XTERM_CHAN=y
> # CONFIG_NOCONFIG_CHAN is not set
> CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
> -CONFIG_CON_CHAN="xterm"
> +CONFIG_CON_CHAN="pts"
> CONFIG_SSL_CHAN="pts"
> CONFIG_UML_SOUND=m
> CONFIG_SOUND=m
> diff --git a/arch/um/configs/x86_64_defconfig b/arch/um/configs/x86_64_defconfig
> index f2c6123..7d4cbbf 100644
> --- a/arch/um/configs/x86_64_defconfig
> +++ b/arch/um/configs/x86_64_defconfig
> @@ -270,7 +270,7 @@ CONFIG_TTY_CHAN=y
> CONFIG_XTERM_CHAN=y
> # CONFIG_NOCONFIG_CHAN is not set
> CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
> -CONFIG_CON_CHAN="xterm"
> +CONFIG_CON_CHAN="pts"
> CONFIG_SSL_CHAN="pts"
> CONFIG_UML_SOUND=m
> CONFIG_SOUND=m
>
next prev parent reply other threads:[~2013-07-19 18:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 18:20 [PATCH] um: change defconfig to stop spawning xterm Ramkumar Ramachandra
2013-07-19 18:44 ` Richard Weinberger [this message]
2013-07-19 19:44 ` Ramkumar Ramachandra
2013-07-22 9:45 ` Ramkumar Ramachandra
2013-07-22 10:38 ` Richard Weinberger
2013-07-22 10:43 ` Ramkumar Ramachandra
2013-07-22 11:48 ` Ramkumar Ramachandra
2013-07-22 22:32 ` Lennart Poettering
2013-07-23 5:40 ` Richard Weinberger
2013-07-23 5:47 ` richard -rw- weinberger
2013-07-23 7:57 ` Al Viro
2013-07-24 16:49 ` Lennart Poettering
2013-07-24 16:38 ` Lennart Poettering
2013-07-22 12:40 ` Al Viro
2013-07-22 13:02 ` Ramkumar Ramachandra
2013-07-22 13:20 ` Richard Weinberger
2013-07-22 13:42 ` Ramkumar Ramachandra
2013-07-22 14:08 ` Richard Weinberger
2013-07-22 15:33 ` Ramkumar Ramachandra
2013-07-22 19:29 ` Richard Weinberger
2013-07-22 20:01 ` Ramkumar Ramachandra
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=51E988FF.9010201@nod.at \
--to=richard@nod.at \
--cc=artagnon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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