qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Stair step trace output since 12fb0ac05
@ 2018-06-06 17:15 BALATON Zoltan
  2018-06-06 17:44 ` Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: BALATON Zoltan @ 2018-06-06 17:15 UTC (permalink / raw)
  To: qemu-devel

Hello,

Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output is 
printed in stair steps when using -trace and -serial stdio together. E.g.
$ qemu-system-i386 -trace 'pci*' -serial stdio

Regards,
BALATON Zoltan

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-06 17:15 [Qemu-devel] Stair step trace output since 12fb0ac05 BALATON Zoltan
@ 2018-06-06 17:44 ` Philippe Mathieu-Daudé
  2018-06-06 18:33 ` Peter Maydell
  2018-06-06 18:56 ` Markus Armbruster
  2 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2018-06-06 17:44 UTC (permalink / raw)
  To: BALATON Zoltan, qemu-devel

On 06/06/2018 02:15 PM, BALATON Zoltan wrote:
> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output is
> printed in stair steps when using -trace and -serial stdio together. E.g.
> $ qemu-system-i386 -trace 'pci*' -serial stdio

True! I'm seeing this too, didn't mind to bisect.

$ arm-softmmu/qemu-system-arm -M lm3s6965evb -serial vc -kernel
sd_card.bin -sd sdcard.img -d trace:sd* -S -monitor stdio
WARNING: Image format was not specified for 'sdcard.img' and probing
guessed raw.

                 Automatically detecting the format is dangerous for raw
images, write operations on block 0 will be restricted.

Specify the 'raw' format explicitly to remove the restrictions.

                                                        QEMU 2.12.50
monitor - type 'help' for more information
(qemu) 24447@1528302742.804868:sdcard_hard_reset power-on

24447@1528302742.804880:sdcard_set_voltage 3.300V (UHS:0)


24447@1528302742.804887:sdcard_soft_reset reset

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-06 17:15 [Qemu-devel] Stair step trace output since 12fb0ac05 BALATON Zoltan
  2018-06-06 17:44 ` Philippe Mathieu-Daudé
@ 2018-06-06 18:33 ` Peter Maydell
  2018-06-07 11:14   ` Thomas Huth
  2018-06-06 18:56 ` Markus Armbruster
  2 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2018-06-06 18:33 UTC (permalink / raw)
  To: BALATON Zoltan; +Cc: QEMU Developers

On 6 June 2018 at 18:15, BALATON Zoltan <balaton@eik.bme.hu> wrote:
> Hello,
>
> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output is
> printed in stair steps when using -trace and -serial stdio together. E.g.
> $ qemu-system-i386 -trace 'pci*' -serial stdio

I had a feeling that we were going to find that there were
situations where we really wanted to retain the crlf
processing...

thanks
-- PMM

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-06 17:15 [Qemu-devel] Stair step trace output since 12fb0ac05 BALATON Zoltan
  2018-06-06 17:44 ` Philippe Mathieu-Daudé
  2018-06-06 18:33 ` Peter Maydell
@ 2018-06-06 18:56 ` Markus Armbruster
  2018-06-07  4:56   ` Thomas Huth
  2 siblings, 1 reply; 7+ messages in thread
From: Markus Armbruster @ 2018-06-06 18:56 UTC (permalink / raw)
  To: BALATON Zoltan; +Cc: qemu-devel, Patryk Olszewski, Paolo Bonzini, Thomas Huth

BALATON Zoltan <balaton@eik.bme.hu> writes:

> Hello,
>
> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output
> is printed in stair steps when using -trace and -serial stdio
> together. E.g.
> $ qemu-system-i386 -trace 'pci*' -serial stdio
>
> Regards,
> BALATON Zoltan

I cc'ed the people involved with this patch for you.

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-06 18:56 ` Markus Armbruster
@ 2018-06-07  4:56   ` Thomas Huth
  2018-06-07  5:17     ` Laurent Desnogues
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Huth @ 2018-06-07  4:56 UTC (permalink / raw)
  To: Markus Armbruster, BALATON Zoltan
  Cc: qemu-devel, Patryk Olszewski, Paolo Bonzini

On 06.06.2018 20:56, Markus Armbruster wrote:
> BALATON Zoltan <balaton@eik.bme.hu> writes:
> 
>> Hello,
>>
>> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output
>> is printed in stair steps when using -trace and -serial stdio
>> together. E.g.
>> $ qemu-system-i386 -trace 'pci*' -serial stdio
>>
>> Regards,
>> BALATON Zoltan
> 
> I cc'ed the people involved with this patch for you.

Is it OK if you revert the change to chardev/char-stdio.c, but not
chardev/char-serial.c ?

 Thomas

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-07  4:56   ` Thomas Huth
@ 2018-06-07  5:17     ` Laurent Desnogues
  0 siblings, 0 replies; 7+ messages in thread
From: Laurent Desnogues @ 2018-06-07  5:17 UTC (permalink / raw)
  To: Thomas Huth
  Cc: Markus Armbruster, BALATON Zoltan, Patryk Olszewski,
	Paolo Bonzini, qemu-devel@nongnu.org

On Thu, Jun 7, 2018 at 6:56 AM, Thomas Huth <thuth@redhat.com> wrote:
> On 06.06.2018 20:56, Markus Armbruster wrote:
>> BALATON Zoltan <balaton@eik.bme.hu> writes:
>>
>>> Hello,
>>>
>>> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output
>>> is printed in stair steps when using -trace and -serial stdio
>>> together. E.g.
>>> $ qemu-system-i386 -trace 'pci*' -serial stdio
>>>
>>> Regards,
>>> BALATON Zoltan
>>
>> I cc'ed the people involved with this patch for you.
>
> Is it OK if you revert the change to chardev/char-stdio.c, but not
> chardev/char-serial.c ?

That's what I did, and it was enough to fix the issues I had.

Thanks,

Laurent

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

* Re: [Qemu-devel] Stair step trace output since 12fb0ac05
  2018-06-06 18:33 ` Peter Maydell
@ 2018-06-07 11:14   ` Thomas Huth
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2018-06-07 11:14 UTC (permalink / raw)
  To: Peter Maydell, BALATON Zoltan; +Cc: QEMU Developers, Paolo Bonzini

On 06.06.2018 20:33, Peter Maydell wrote:
> On 6 June 2018 at 18:15, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>> Hello,
>>
>> Since 12fb0ac05 (char: Remove unwanted crlf conversion) trace output is
>> printed in stair steps when using -trace and -serial stdio together. E.g.
>> $ qemu-system-i386 -trace 'pci*' -serial stdio
> 
> I had a feeling that we were going to find that there were
> situations where we really wanted to retain the crlf
> processing...

I think the problem is that we've turned it on in char-stdio.c, too.
char-serial.c should be sufficient.

Is someone volunteering for sending a patch to revert the changes in
char-stdio.c ?

 Thomas

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

end of thread, other threads:[~2018-06-07 11:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-06 17:15 [Qemu-devel] Stair step trace output since 12fb0ac05 BALATON Zoltan
2018-06-06 17:44 ` Philippe Mathieu-Daudé
2018-06-06 18:33 ` Peter Maydell
2018-06-07 11:14   ` Thomas Huth
2018-06-06 18:56 ` Markus Armbruster
2018-06-07  4:56   ` Thomas Huth
2018-06-07  5:17     ` Laurent Desnogues

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).