qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux shell comes out to qemu-monitor when I enter anything. (I have


From: Peter Maydell
Subject: Re: linux shell comes out to qemu-monitor when I enter anything. (I have two uarts)
Date: Thu, 21 Jul 2022 09:35:04 +0100

On Thu, 21 Jul 2022 at 03:46, Jakob Bohm <jb-gnumlists@wisemo.com> wrote:
> It would be a lot more helpful if your error message was explicit about
> which items were conflicting rather than demanding the full configuration
> from people affected.  And don't fall for the temptation of printing out a
> list of potential reasons in the fixed error text, actually print the
> actual data triggering your error case.

Yes, I agree. QEMU's command line handling and error messages
often leave a lot to be desired. Unfortunately it's often difficult
to produce good error messages, because by the time execution gets
down to the point where you notice the problem it's a long way
removed from the user's command line options. In this case, the
stdio chardev is a self-contained object which can easily determine
if another instance of it has already been created, but it doesn't
know anything about what that other instance was or what the
code creating that other instance was doing (or even about what
the code creating this instance is doing, though at least in that
case there's the opportunity for propagating an error up to the
caller).

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]