qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Monitor and serial output window broken with SDL2
Date: Tue, 18 Dec 2018 10:58:39 +0000	[thread overview]
Message-ID: <20181218105839.GD22638@redhat.com> (raw)
In-Reply-To: <alpine.BSF.2.21.9999.1812172255250.25213@zero.eik.bme.hu>

On Mon, Dec 17, 2018 at 10:57:14PM +0100, BALATON Zoltan wrote:
> On Mon, 17 Dec 2018, Daniel P. Berrangé wrote:
> > On Mon, Dec 17, 2018 at 03:56:49PM +0100, BALATON Zoltan wrote:
> > > On Wed, 21 Mar 2018, BALATON Zoltan wrote:
> > > > On Wed, 21 Mar 2018, Gerd Hoffmann wrote:
> > > > > > while the serial output seems to be behind the monitor output in the window
> > > > > > opening with Ctrl+Alt+2 and flashes when I type in this window. (This
> > > > > > doesn't seem to happen with qemu-system-x86_64, maybe that's why
> > > > > > it was not catched.)
> > > > > 
> > > > > Doesn't reproduce too.  It's also not clear why x86_64 should behave
> > > > > different that ppc.  There is no arch-specific code ui/, so there should
> > > > > be no difference, exept for hardware like paralle ports which are not
> > > > > supported by all machine types.
> > > > > 
> > > > > Any chance you have tested an old ppc binary?
> > > > 
> > > > Not likely because I did make distclean and a clean build before testing
> > > > to avoid any possible mismatch. It still does not work for me though.
> > > > While
> > > 
> > > I still have this problem after updating everything on my machine, latest
> > > QEMU and SDL 2.0.9 so it's not likely to be a bug in some external
> > > component. If I just start qemu-system-ppc (compiled with --disable-gtk) and
> > > try to open monitor console with Ctrl-Alt-2 I see QEMU monitor but when I
> > > type in this window the serial output window contents flash in this window.
> > > At the same time the window that opens for Ctrl-Alt-3 which should have the
> > > serial output is empty. It looks like an index may be off somewhere or
> > > window contents are not associated with the right window but I have no idea
> > > where to look for it. Can you reproduce it now and do you have any idea what
> > > could cause this?
> > 
> > Could you share an example command line which can be used to reproduce
> > the problem.
> 
> As I wrote above ust "qemu-system-ppc" without any options reproduces the
> problem here.

I don't have any luck reproducing the behaviour you describe.

Built todays git master with
 
  ./configure --target-list=x86_64-softmmu,ppc-softmmu --disable-gtk

then ./ppc-softmmu/qemu-system-ppc -sdl


pops up the main SDL window with primary VGA showing firmware output.

I can then Ctrl-Alt-2 to popup monitor console, and Ctrl-Alt-3/4 to
popup serial & parallel console.  The serial console has  some input
in it, and the monitor console responds normally without affecting
any other windows.

Can you provide further information about your host architecture, and
your host OS distro, and whether you gave any other special options
to configure or qemu-system-ppc

The only annoyance is that the serial & parallel console windows get
placed directly on top of the monitor console window instead of letting
the window manager place them in a sensible place.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  parent reply	other threads:[~2018-12-18 11:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 22:43 [Qemu-devel] Monitor and serial output window broken with SDL2 BALATON Zoltan
2018-03-21 14:06 ` Gerd Hoffmann
2018-03-21 17:25   ` BALATON Zoltan
2018-12-17 14:56     ` BALATON Zoltan
2018-12-17 15:00       ` Daniel P. Berrangé
2018-12-17 21:57         ` BALATON Zoltan
2018-12-18  5:54           ` Gerd Hoffmann
2018-12-18 10:58           ` Daniel P. Berrangé [this message]
2018-12-18 10:54       ` Mark Cave-Ayland
2018-12-18 11:16         ` Daniel P. Berrangé
2018-12-18 13:11           ` BALATON Zoltan
2018-12-18 13:27             ` Daniel P. Berrangé
2018-12-18 19:05               ` BALATON Zoltan
2018-12-19  9:53                 ` Daniel P. Berrangé
2018-12-19 18:11                   ` BALATON Zoltan
2018-12-20  5:42                     ` Gerd Hoffmann
2018-12-20 11:18                       ` BALATON Zoltan

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=20181218105839.GD22638@redhat.com \
    --to=berrange@redhat.com \
    --cc=balaton@eik.bme.hu \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).