Linux virtualization list
 help / color / mirror / Atom feed
* Why is virtio_console not a tty?
@ 2014-06-12 19:32 H. Peter Anvin
  2014-06-13  1:06 ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2014-06-12 19:32 UTC (permalink / raw)
  To: virtualization@lists.linux-foundation.org, Amit Shah,
	Rusty Russell

I have gotten scattered reports of strange problems caused by the fact
that virtio_console doesn't behave like a normal tty (support termios
and so on.)  This seems to be an odd restriction -- is there any
fundamental reason for this design choice?

	-hpa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why is virtio_console not a tty?
  2014-06-12 19:32 Why is virtio_console not a tty? H. Peter Anvin
@ 2014-06-13  1:06 ` Rusty Russell
  2014-06-13  1:26   ` H. Peter Anvin
  0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2014-06-13  1:06 UTC (permalink / raw)
  To: H. Peter Anvin, virtualization@lists.linux-foundation.org,
	Amit Shah

"H. Peter Anvin" <hpa@zytor.com> writes:
> I have gotten scattered reports of strange problems caused by the fact
> that virtio_console doesn't behave like a normal tty (support termios
> and so on.)  This seems to be an odd restriction -- is there any
> fundamental reason for this design choice?

Not that I know.  I tacked it into hvc_console which provided the glue
to make it a console.  Avoided me digging into console implementation,
which is pretty horrible.

Given my ignorance, how much change do we need to make it behave like a
TTY?

Cheers,
Rusty.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why is virtio_console not a tty?
  2014-06-13  1:06 ` Rusty Russell
@ 2014-06-13  1:26   ` H. Peter Anvin
  0 siblings, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2014-06-13  1:26 UTC (permalink / raw)
  To: Rusty Russell, virtualization@lists.linux-foundation.org,
	Amit Shah

On 06/12/2014 06:06 PM, Rusty Russell wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>> I have gotten scattered reports of strange problems caused by the fact
>> that virtio_console doesn't behave like a normal tty (support termios
>> and so on.)  This seems to be an odd restriction -- is there any
>> fundamental reason for this design choice?
> 
> Not that I know.  I tacked it into hvc_console which provided the glue
> to make it a console.  Avoided me digging into console implementation,
> which is pretty horrible.
> 
> Given my ignorance, how much change do we need to make it behave like a
> TTY?
> 

hvc_console.c seems to set up a tty subsystem, so that is really
confusing...

	-hpa

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-13  1:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 19:32 Why is virtio_console not a tty? H. Peter Anvin
2014-06-13  1:06 ` Rusty Russell
2014-06-13  1:26   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox