1. 11 12月, 2012 5 次提交
  2. 03 8月, 2012 1 次提交
    • P
      Support 'help' as a synonym for '?' in command line options · c8057f95
      Peter Maydell 提交于
      For command line options which permit '?' meaning 'please list the
      permitted values', add support for 'help' as a synonym, by abstracting
      the check out into a helper function.
      
      This change means that in some cases where we were being lazy in
      our string parsing, "?junk" will now be rejected as an invalid option
      rather than being (undocumentedly) treated the same way as "?".
      
      Update the documentation to use 'help' rather than '?', since '?'
      is a shell metacharacter and thus prone to fail confusingly if there
      is a single character filename in the current working directory and
      the '?' has not been escaped. It's therefore better to steer users
      towards 'help', though '?' is retained for backwards compatibility.
      
      We do not, however, update the output of the system emulator's -help
      (or any documentation autogenerated from the qemu-options.hx which
      is the source of the -help text) because libvirt parses our -help
      output and will break. At a later date when QEMU provides a better
      interface so libvirt can avoid having to do this, we can update the
      -help text too.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c8057f95
  3. 23 7月, 2012 1 次提交
  4. 05 6月, 2012 9 次提交
  5. 17 2月, 2012 1 次提交
  6. 02 2月, 2012 1 次提交
  7. 13 1月, 2012 1 次提交
  8. 02 12月, 2011 1 次提交
  9. 31 10月, 2011 1 次提交
  10. 21 8月, 2011 1 次提交
  11. 14 12月, 2010 2 次提交
  12. 06 7月, 2010 1 次提交
  13. 02 7月, 2010 1 次提交
  14. 15 6月, 2010 2 次提交
  15. 28 5月, 2010 1 次提交
  16. 04 5月, 2010 1 次提交
  17. 19 4月, 2010 3 次提交
  18. 19 3月, 2010 1 次提交
  19. 17 3月, 2010 2 次提交
    • M
      qemu-option: Move the implied first name into QemuOptsList · 8212c64f
      Markus Armbruster 提交于
      We sometimes permit omitting the first option name, for example
      -device foo is short for -device driver=foo.  The name to use
      ("driver" in the example) is passed as argument to qemu_opts_parse().
      For each QemuOptsList, we use at most one such name.
      
      Move the name into QemuOptsList, and pass whether to permit the
      abbreviation.  This ensures continued consistency, and simplifies the
      commit after next in this series.
      8212c64f
    • M
      qemu-option: Functions to convert to/from QDict · 01e7f188
      Markus Armbruster 提交于
      The functions are somewhat restricted.  Good enough for the job at
      hand.  We'll extend them when we need more.
      01e7f188
  20. 16 3月, 2010 1 次提交
    • M
      error: Infrastructure to track locations for error reporting · 827b0813
      Markus Armbruster 提交于
      New struct Location holds a location.  So far, the only location is
      LOC_NONE, so this doesn't do anything useful yet.
      
      Passing the current location all over the place would be too
      cumbersome.  Hide it away in static cur_loc instead, and provide
      accessors.  Print it in error_report().
      
      Store it in QError, and print it in qerror_print().
      
      Store it in QemuOpt, for use by qemu_opts_foreach().  This makes
      error_report() do the right thing when it runs within
      qemu_opts_foreach().
      
      We may still have to store it in other data structures holding user
      input for better error messages.  Left for another day.
      827b0813
  21. 22 2月, 2010 1 次提交
  22. 04 2月, 2010 1 次提交
  23. 12 12月, 2009 1 次提交