Stair step trace output since 12fb0ac05
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
Quoted 3 lines · BALATON Zoltan
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) [email protected]:sdcard_hard_reset power-on
[email protected]:sdcard_set_voltage 3.300V (UHS:0)
[email protected]:sdcard_soft_reset reset
Quoted 5 lines · BALATON Zoltan
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
Quoted 9 lines · BALATON Zoltan
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 stdioRegards,
BALATON Zoltan
I cc'ed the people involved with this patch for you.
Quoted 9 lines · Markus Armbruster
Quoted 7 lines · BALATON Zoltan
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
Quoted 4 lines
Quoted 2 lines
Regards,
BALATON ZoltanI 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
Quoted 10 lines · Thomas Huth
Quoted 9 lines · Markus Armbruster
Quoted 7 lines · BALATON Zoltan
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
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Regards,
BALATON ZoltanI cc'ed the people involved with this patch for you.
Is it OK if you revert the change to
chardev/char-stdio.c, but notchardev/char-serial.c?
That's what I did, and it was enough to fix the issues I had.
Thanks,
Laurent
Quoted 10 lines · Peter Maydell
Quoted 5 lines · BALATON Zoltan
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 stdioI 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