qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: "Collin L. Walling" <walling@linux.vnet.ibm.com>, cohuck@redhat.com
Cc: thuth@redhat.com, bwalk@linux.vnet.ibm.com, david@redhat.com,
	pmorel@linux.vnet.ibm.com, qemu-devel@nongnu.org, agraf@suse.de,
	pasic@linux.vnet.ibm.com, jjherne@linux.vnet.ibm.com,
	rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH v3] s390-ccw: print carriage return with new lines
Date: Fri, 27 Oct 2017 16:46:25 +0200	[thread overview]
Message-ID: <ab482340-6ac0-5f1a-2e24-3e2f9278a5bb@de.ibm.com> (raw)
In-Reply-To: <1509114613-10601-1-git-send-email-walling@linux.vnet.ibm.com>



On 10/27/2017 04:30 PM, Collin L. Walling wrote:
> The sclp console in the s390 bios writes raw data,
> leading console emulators (such as virsh console) to
> treat a new line ('\n') as just a new line instead
> of as a Unix line feed. Because of this, output
> appears in a "stair case" pattern.
> 
> Let's print \r\n on every occurrence of a new line
> in the string passed to write to amend this issue.
> 
> This is in sync with the guest Linux code in
> drivers/s390/char/sclp_vt220.c which also does a line feed
> conversion  in the console part of the driver. 
> 
> This fixes the s390-ccw and s390-netboot output like
> $ virsh start test --console
> Domain test started
> Connected to domain test
> Escape character is ^]
> Network boot starting...
>                           Using MAC address: 02:01:02:03:04:05
>                                                                 Requesting information via DHCP:  010
> 
> Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>

FWIW, please remove my signed-off-by when resending.

  reply	other threads:[~2017-10-27 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 14:30 [Qemu-devel] [PATCH v3] s390-ccw: print carriage return with new lines Collin L. Walling
2017-10-27 14:46 ` Christian Borntraeger [this message]
2017-10-27 15:39 ` Halil Pasic
2017-10-27 15:47   ` Collin L. Walling
2017-10-27 15:55     ` Halil Pasic

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=ab482340-6ac0-5f1a-2e24-3e2f9278a5bb@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=agraf@suse.de \
    --cc=bwalk@linux.vnet.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=jjherne@linux.vnet.ibm.com \
    --cc=pasic@linux.vnet.ibm.com \
    --cc=pmorel@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=thuth@redhat.com \
    --cc=walling@linux.vnet.ibm.com \
    /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).