1. 04 9月, 2017 1 次提交
  2. 02 8月, 2017 1 次提交
  3. 01 8月, 2017 1 次提交
    • S
      trace: add trace_event_get_state_backends() · d87aa138
      Stefan Hajnoczi 提交于
      Code that checks dstate is unaware of SystemTap and LTTng UST dstate, so
      the following trace event will not fire when solely enabled by SystemTap
      or LTTng UST:
      
        if (trace_event_get_state(TRACE_MY_EVENT)) {
            str = g_strdup_printf("Expensive string to generate ...",
                                  ...);
            trace_my_event(str);
            g_free(str);
        }
      
      Add trace_event_get_state_backends() to fetch backend dstate.  Those
      backends that use QEMU dstate fetch it as part of
      generate_h_backend_dstate().
      
      Update existing trace_event_get_state() callers to use
      trace_event_get_state_backends() instead.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 20170731140718.22010-3-stefanha@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      d87aa138
  4. 31 7月, 2017 6 次提交
  5. 24 7月, 2017 1 次提交
  6. 18 7月, 2017 2 次提交
    • K
      live-block-ops.txt: Rename, rewrite, and improve it · 8508eee7
      Kashyap Chamarthy 提交于
      This patch documents (including their QMP invocations) all the four
      major kinds of live block operations:
      
        - `block-stream`
        - `block-commit`
        - `drive-mirror` (& `blockdev-mirror`)
        - `drive-backup` (& `blockdev-backup`)
      
      Things considered while writing this document:
      
        - Use reStructuredText as markup language (with the goal of generating
          the HTML output using the Sphinx Documentation Generator).  It is
          gentler on the eye, and can be trivially converted to different
          formats.  (Another reason: upstream QEMU is considering to switch to
          Sphinx, which uses reStructuredText as its markup language.)
      
        - Raw QMP JSON output vs. 'qmp-shell'.  I debated with myself whether
          to only show raw QMP JSON output (as that is the canonical
          representation), or use 'qmp-shell', which takes key-value pairs.  I
          settled on the approach of: for the first occurrence of a command,
          use raw JSON; for subsequent occurrences, use 'qmp-shell', with an
          occasional exception.
      
        - Usage of `-blockdev` command-line.
      
        - Usage of 'node-name' vs. file path to refer to disks.  While we have
          `blockdev-{mirror, backup}` as 'node-name'-alternatives for
          `drive-{mirror, backup}`, the `block-commit` command still operates
          on file names for parameters 'base' and 'top'.  So I added a caveat
          at the beginning to that effect.
      
          Refer this related thread that I started (where I learnt
          `block-stream` was recently reworked to accept 'node-name' for 'top'
          and 'base' parameters):
          https://lists.nongnu.org/archive/html/qemu-devel/2017-05/msg06466.html
          "[RFC] Making 'block-stream', and 'block-commit' accept node-name"
      
      All commands showed in this document were tested while documenting.
      
      Thanks: Eric Blake for the section: "A note on points-in-time vs file
      names".  This useful bit was originally articulated by Eric in his
      KVMForum 2015 presentation, so I included that specific bit in this
      document.
      Signed-off-by: NKashyap Chamarthy <kchamart@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 20170717105205.32639-3-kchamart@redhat.com
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      8508eee7
    • K
      bitmaps.md: Convert to rST; move it into 'interop' dir · 7746cf8a
      Kashyap Chamarthy 提交于
      This is part of the on-going effort to convert QEMU upstream
      documentation syntax to reStructuredText (rST).
      
      The conversion to rST was done using:
      
          $ pandoc -f markdown -t rst bitmaps.md -o bitmaps.rst
      
      Then, make a couple of small syntactical adjustments.  While at it,
      reword a statement to avoid ambiguity.  Addressing the feedback from
      this thread:
      
          https://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg05428.htmlSigned-off-by: NKashyap Chamarthy <kchamart@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 20170717105205.32639-2-kchamart@redhat.com
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      7746cf8a
  7. 17 7月, 2017 2 次提交
  8. 15 7月, 2017 1 次提交
  9. 11 7月, 2017 3 次提交
  10. 15 6月, 2017 1 次提交
  11. 08 6月, 2017 1 次提交
  12. 04 6月, 2017 2 次提交
  13. 02 6月, 2017 2 次提交
  14. 12 5月, 2017 1 次提交
  15. 28 3月, 2017 1 次提交
  16. 16 3月, 2017 6 次提交
  17. 14 3月, 2017 1 次提交
  18. 07 3月, 2017 1 次提交
  19. 05 3月, 2017 1 次提交
  20. 02 3月, 2017 1 次提交
  21. 01 3月, 2017 3 次提交
  22. 28 2月, 2017 1 次提交