1. 23 2月, 2016 1 次提交
    • P
      include: Clean up includes · 90ce6e26
      Peter Maydell 提交于
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      
      NB: If this commit breaks compilation for your out-of-tree
      patchseries or fork, then you need to make sure you add
      #include "qemu/osdep.h" to any new .c files that you have.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      90ce6e26
  2. 03 3月, 2014 1 次提交
  3. 19 12月, 2012 2 次提交
  4. 10 3月, 2012 1 次提交
  5. 03 10月, 2010 2 次提交
  6. 01 10月, 2010 1 次提交
    • D
      Add support for JSON pretty printing · 212b6008
      Daniel P. Berrange 提交于
      The monitor does not pretty-print JSON output, so that everything
      will be on a single line reply. When JSON docs get large this is
      quite unpleasant to read. For the future command line capabilities
      query ability, huge JSON docs will be available. This needs the
      ability to pretty-print.
      
      This introduces a new API qobject_to_json_pretty() that does
      a minimal indentation of list and dict members. As an example,
      this makes
      
        {"QMP": {"version": {"micro": 50, "minor": 12, "package": "", "major": 0}, "capabilities": []}}
      
      Output as
      
        {
            "QMP": {
                "version": {
                    "micro": 50,
                    "minor": 12,
                    "package": "",
                    "major": 0
                },
                "capabilities": [
                ]
            }
        }
      
      NB: this is not turned on for the QMP monitor.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      212b6008
  7. 03 12月, 2009 1 次提交
  8. 17 11月, 2009 2 次提交