Skip to content
Snippets Groups Projects
  1. Jan 13, 2016
  2. Jan 12, 2016
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kvaneesh/tags/for-upstream-signed' into staging · 649a1bba
      Peter Maydell authored
      
      VirtFS update:
      
      Cleanups mostly isolating virtio related details into separate files. This
      is done to enable easy addition of Xen transport for VirtFS.
      
      The changes include:
      
      1. Rename a bunch of files and functions to make clear they are generic.
      2. disentangle virtio transport code and generic 9pfs code.
      3. Some function name clean-up.
      
      # gpg: Signature made Tue 12 Jan 2016 06:04:35 GMT using RSA key ID 04C4E23A
      # gpg: Good signature from "Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 4846 9DE7 1860 360F A6E9  968C DE41 A4FE 04C4 E23A
      
      * remotes/kvaneesh/tags/for-upstream-signed: (25 commits)
        9pfs: introduce V9fsVirtioState
        9pfs: factor out v9fs_device_{,un}realize_common
        9pfs: rename virtio-9p.c to 9p.c
        9pfs: rename virtio_9p_set_fd_limit to use v9fs_ prefix
        9pfs: move handle_9p_output and make it static function
        9pfs: export pdu_{submit,alloc,free}
        9pfs: factor out virtio_9p_push_and_notify
        9pfs: break out 9p.h from virtio-9p.h
        9pfs: break out virtio_init_iov_from_pdu
        9pfs: factor out pdu_push_and_notify
        9pfs: factor out virtio_pdu_{,un}marshal
        9pfs: make pdu_{,un}marshal proper functions
        9pfs: PDU processing functions should start pdu_ prefix
        9pfs: PDU processing functions don't need to take V9fsState as argument
        fsdev: rename virtio-9p-marshal.{c,h} to 9p-iov-marshal.{c,h}
        fsdev: break out 9p-marshal.{c,h} from virtio-9p-marshal.{c,h}
        9pfs: remove dead code
        9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h
        9pfs: rename virtio-9p-xattr{,-user}.{c,h} to 9p-xattr{,-user}.{c,h}
        9pfs: rename virtio-9p-synth.{c,h} to 9p-synth.{c,h}
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      649a1bba
    • Peter Maydell's avatar
      disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings · 8acc216b
      Peter Maydell authored
      
      The VIXL code includes some equality comparisons between signed
      and unsigned types. Modern gcc and clang do not complain about
      these, but older versions of gcc such as gcc 4.6.3 do. Since
      libvixl is an upstream library, the simplest approach is to
      suppress the warnings by applying -Wno-sign-compare to the
      relevant files.
      
      (GCC 4.6 is not quite yet irrelevant for us; it is the gcc
      shipped with Ubuntu Precise, for example, which is an LTS
      release not yet out of its support period.)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1452604204-27202-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      8acc216b
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging · cf57c2f1
      Peter Maydell authored
      
      # gpg: Signature made Mon 11 Jan 2016 19:16:27 GMT using RSA key ID AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
      
      * remotes/jnsnow/tags/ide-pull-request:
        libqos/ahci: organize header
        qtest/ahci: ATAPI data tests
        libqos/ahci: add ahci_exec
        libqos/ahci: allow nondata commands for ahci_io variants
        libqos: allow zero-size allocations
        libqos/ahci: Switch to mutable properties
        libqos/ahci: ATAPI identify
        libqos/ahci: ATAPI support
        ahci-test: fix memory leak
        ide: ahci: reset ncq object to unused on error
        macio: fix overflow in lba to offset conversion for ATAPI devices
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      cf57c2f1
    • Wei Liu's avatar
      9pfs: introduce V9fsVirtioState · 00588a0a
      Wei Liu authored
      
      V9fsState now only contains generic fields. Introduce V9fsVirtioState
      for virtio transport.  Change virtio-pci and virtio-ccw to use
      V9fsVirtioState.
      
      Signed-off-by: default avatarWei Liu <wei.liu2@citrix.com>
      Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      00588a0a
  3. Jan 11, 2016
    • John Snow's avatar
      libqos/ahci: organize header · c5620e65
      John Snow authored
      
      Organize the prototypes into nice little sections.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-10-git-send-email-jsnow@redhat.com
      c5620e65
    • John Snow's avatar
      qtest/ahci: ATAPI data tests · e8109694
      John Snow authored
      
      Simple I/O tests for DMA and PIO pathways in the AHCI HBA.
      
      I believe at this point in time all of the common, major IO pathways
      in BMDMA and AHCI are covered by qtests now.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-9-git-send-email-jsnow@redhat.com
      e8109694
    • John Snow's avatar
      libqos/ahci: add ahci_exec · 9350df7c
      John Snow authored
      
      add ahci_exec, which is a standard purpose flexible command dispatcher
      and tester for the AHCI device. The intent is to eventually cut down on
      the absurd amount of boilerplate inside of the AHCI qtest.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-8-git-send-email-jsnow@redhat.com
      9350df7c
    • John Snow's avatar
      libqos/ahci: allow nondata commands for ahci_io variants · b682d3a7
      John Snow authored
      
      These variants try to set a data offset, even if you don't specify one.
      In the cases where the offset is zero and it's a nondata command, just
      ignore the instruction.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-7-git-send-email-jsnow@redhat.com
      b682d3a7
    • John Snow's avatar
      libqos: allow zero-size allocations · b1b66c3b
      John Snow authored
      
      As part of streamlining the AHCI tests interface, it'd be nice
      if specying a size of zero could be handled without special branches
      and the allocator could handle this special case gracefully.
      
      This lets me use the "ahci_io" macros for non-data commands, too,
      which moves me forward towards shepherding all AHCI qtests into
      a common set of commands in a unified pipeline.
      
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-6-git-send-email-jsnow@redhat.com
      b1b66c3b
Loading