1. 18 11月, 2015 3 次提交
  2. 17 11月, 2015 12 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-20151116-1' into staging · c27e9014
      Peter Maydell 提交于
      vnc: buffer code improvements, bugfixes.
      
      # gpg: Signature made Mon 16 Nov 2015 17:20:02 GMT using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-vnc-20151116-1:
        vnc: fix mismerge
        buffer: allow a buffer to shrink gracefully
        buffer: factor out buffer_adj_size
        buffer: factor out buffer_req_size
        vnc: recycle empty vs->output buffer
        vnc: fix local state init
        vnc: only alloc server surface with clients connected
        vnc: use vnc_{width,height} in vnc_set_area_dirty
        vnc: factor out vnc_update_server_surface
        vnc: add vnc_width+vnc_height helpers
        vnc: zap dead code
        vnc-jobs: move buffer reset, use new buffer move
        vnc: kill jobs queue buffer
        vnc: attach names to buffers
        buffer: add tracing
        buffer: add buffer_shrink
        buffer: add buffer_move
        buffer: add buffer_move_empty
        buffer: add buffer_init
        buffer: make the Buffer capacity increase in powers of two
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c27e9014
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 9be060f5
      Peter Maydell 提交于
      # gpg: Signature made Tue 17 Nov 2015 11:13:05 GMT using RSA key ID 81AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      
      * remotes/stefanha/tags/block-pull-request:
        virtio-blk: Fix double completion for werror=stop
        block: make 'stats-interval' an array of ints instead of a string
        aio-epoll: Fix use-after-free of node
        disas/arm: avoid clang shifting negative signed warning
        tpm: avoid clang shifting negative signed warning
        tests: Ignore recent test binaries
        docs: update bitmaps.md
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9be060f5
    • F
      virtio-blk: Fix double completion for werror=stop · 10f5a72f
      Fam Zheng 提交于
      When a request R is absorbed by request M, it is appended to the
      "mr_next" queue led by M, and is completed together with the completion
      of M, in virtio_blk_rw_complete.
      
      During DMA restart in virtio_blk_dma_restart_bh, requests in s->rq are
      parsed and submitted again, possibly with a stale req->mr_next. It could
      be a problem if the request merging in virtio_blk_handle_request hasn't
      refreshed every mr_next pointer, in which case, virtio_blk_rw_complete
      could walk through unexpected requests following the stale pointers.
      
      Fix this by unsetting the pointer in virtio_blk_rw_complete. It is safe
      because this req is either completed and freed right away, or it will be
      restarted and parsed from scratch out of the vq later.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      10f5a72f
    • A
      block: make 'stats-interval' an array of ints instead of a string · 40119eff
      Alberto Garcia 提交于
      This is the natural JSON representation and prevents us from having to
      decode the list manually.
      Signed-off-by: NAlberto Garcia <berto@igalia.com>
      Message-id: 0e3da8fa206f4ab534ae3ce6086e75fe84f1557e.1447665472.git.berto@igalia.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      40119eff
    • F
      aio-epoll: Fix use-after-free of node · 0ed39f3d
      Fam Zheng 提交于
      aio_epoll_update needs the fields in node, so delay the free.
      Reported-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1447655534-13974-1-git-send-email-famz@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      0ed39f3d
    • S
      disas/arm: avoid clang shifting negative signed warning · 02460c3b
      Stefan Hajnoczi 提交于
      clang 3.7.0 on x86_64 warns about the following:
      
        disas/arm.c:1782:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
          imm |= (-1 << 7);
                  ~~ ^
      
      Note that this patch preserves the tab indent in this source file
      because the surrounding code still uses tabs.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      02460c3b
    • S
      tpm: avoid clang shifting negative signed warning · 886ce6f8
      Stefan Hajnoczi 提交于
      clang 3.7.0 on x86_64 warns about the following:
      
        hw/tpm/tpm_tis.c:1000:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                  tis->loc[c].iface_id = TPM_TIS_IFACE_ID_SUPPORTED_FLAGS1_3;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        hw/tpm/tpm_tis.c:144:10: note: expanded from macro 'TPM_TIS_IFACE_ID_SUPPORTED_FLAGS1_3'
           (~0 << 4)/* all of it is don't care */)
            ~~ ^
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      886ce6f8
    • E
      tests: Ignore recent test binaries · a12e52a1
      Eric Blake 提交于
      Commits 6c6f312d and bd797fc1 added new tests (test-blockjob-txn
      and test-timed-average, respectively), but did not mark them for
      exclusion in .gitignore.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1447386423-13160-1-git-send-email-eblake@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      a12e52a1
    • J
      docs: update bitmaps.md · c4c2daa1
      John Snow 提交于
      Include new error handling scenarios for 2.5.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1447196417-26081-1-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      c4c2daa1
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2015-11-17' into staging · 361cb268
      Peter Maydell 提交于
      QAPI patches
      
      # gpg: Signature made Tue 17 Nov 2015 08:28:24 GMT using RSA key ID EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      
      * remotes/armbru/tags/pull-qapi-2015-11-17:
        input: Document why x-input-send-event is still experimental
        qapi: Document introspection stability considerations
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      361cb268
    • E
      input: Document why x-input-send-event is still experimental · 513e7cdb
      Eric Blake 提交于
      The x-input-send-event command was introduced in 2.2 with mention
      that it is experimental, but now that several releases have elapsed
      without any changes, it would be nice to document why that was done
      and should still remain experimental in 2.5.
      
      Meanwhile, our documentation states that we prefer 'lower-case',
      rather than 'CamelCase', for qapi enum values.  The InputButton and
      InputAxis enums violate this convention.  However, because they are
      currently used primarily for generating code that is used internally;
      and their only exposure through QMP is via the experimental
      'x-input-send-event' command, we are free to change their spelling.
      Of course, it would be nicer to delay such a change until the same
      time we promote the command to non-experimental.  Adding
      documentation will help us remember to do that rename.
      
      We have plans to tighten the qapi generator to flag instances of
      inconsistent use of naming conventions; if that lands first, it
      will just need to whitelist these exceptions until the time we
      settle on the final interface.
      
      Fix a typo in the docs for InputAxis while at it.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <1447354243-31825-1-git-send-email-eblake@redhat.com>
      Reviewed-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      513e7cdb
    • E
      qapi: Document introspection stability considerations · 39a65e2c
      Eric Blake 提交于
      We are not ready (and might never be ready) to declare
      introspection stable between releases. Clients written to
      control multiple versions of qemu, and desiring to know
      whether a particular member is supported for a given
      command, must be prepared to locate that member in spite
      of qapi changes that may affect the member's location or
      type within the overall object, even though such changes
      did not break QMP wire back-compatibility.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <1447264202-19554-1-git-send-email-eblake@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      39a65e2c
  3. 16 11月, 2015 5 次提交
  4. 14 11月, 2015 7 次提交
  5. 13 11月, 2015 11 次提交
  6. 12 11月, 2015 2 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 8f0da01d
      Peter Maydell 提交于
      virtio, vhost: fixes for 2.5
      
      This fixes a performance regression with virtio 1,
      and makes device stop/start more robust for vhost-user.
      virtio devices on pcie bus now have pcie and pm
      capability, as required by the PCI Express spec.
      migration now works better with virtio 9p.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Thu 12 Nov 2015 14:40:42 GMT using RSA key ID D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      
      * remotes/mst/tags/for_upstream:
        virtio-9p: add savem handlers
        hw/virtio: Add PCIe capability to virtio devices
        vhost: send SET_VRING_ENABLE at start/stop
        vhost: rename RESET_DEVICE backto RESET_OWNER
        vhost-user: modify SET_LOG_BASE to pass mmap size and offset
        virtio-pci: unbreak queue_enable read
        virtio-pci: introduce pio notification capability for modern device
        virtio-pci: use zero length mmio eventfd for 1.0 notification cap when possible
        KVM: add support for any length io eventfd
        memory: don't try to adjust endianness for zero length eventfd
        virtio-pci: fix 1.0 virtqueue migration
      
      Conflicts:
      	include/hw/compat.h
      [Fixed a trivial merge conflict in compat.h]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8f0da01d
    • A
      block: Update copyright of the accounting code · aece5edc
      Alberto Garcia 提交于
      Signed-off-by: NAlberto Garcia <berto@igalia.com>
      Message-id: 80a2278e3ec2dafd5daab20a7cb2d6a9b83371e4.1446044838.git.berto@igalia.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      aece5edc