All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] we allow passing -machine type=foo more than once but are confused about which to use...
@ 2017-10-31 18:33 Peter Maydell
  2017-11-01  6:22 ` Thomas Huth
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2017-10-31 18:33 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Markus Armbruster

(cc Markus because I know how much he likes weirdnesses in our
command line parsing :-))

https://stackoverflow.com/questions/46955244/qemu-run-arm-ubuntu-unsupported-machine-type/47042282
has a user who's run into a confusing error message, because
we allow the user to pass "-machine type=foo" more than once on
the command line. When we decide which one to use, we go with the
last one on the list. However if it's not valid, when we print the
"don't recognize that machine type" message, the name we use in
the message is the *first* one on the list :-)

Maybe we should just not allow users to pass the argument
more than once...?

thanks
-- PMM

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

end of thread, other threads:[~2017-11-08  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 18:33 [Qemu-devel] we allow passing -machine type=foo more than once but are confused about which to use Peter Maydell
2017-11-01  6:22 ` Thomas Huth
2017-11-08  7:42   ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.