1. 19 7月, 2016 1 次提交
  2. 07 6月, 2016 1 次提交
  3. 29 1月, 2016 1 次提交
    • P
      ide: Clean up includes · 53239262
      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.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-17-git-send-email-peter.maydell@linaro.org
      53239262
  4. 12 1月, 2016 5 次提交
    • J
      qtest/ahci: ATAPI data tests · e8109694
      John Snow 提交于
      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: NJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-9-git-send-email-jsnow@redhat.com
      e8109694
    • J
      libqos/ahci: allow nondata commands for ahci_io variants · b682d3a7
      John Snow 提交于
      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: NJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-7-git-send-email-jsnow@redhat.com
      b682d3a7
    • J
      libqos: allow zero-size allocations · b1b66c3b
      John Snow 提交于
      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: NJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-6-git-send-email-jsnow@redhat.com
      b1b66c3b
    • J
      libqos/ahci: ATAPI identify · d0b282a5
      John Snow 提交于
      We need to say "hello!" to our ATAPI friends
      in a slightly different manner.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-4-git-send-email-jsnow@redhat.com
      d0b282a5
    • J
      ahci-test: fix memory leak · 248de4a8
      John Snow 提交于
      Use the proper free command to detroy an AHCICommand.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1452282920-21550-2-git-send-email-jsnow@redhat.com
      248de4a8
  5. 14 11月, 2015 3 次提交
  6. 18 9月, 2015 2 次提交
  7. 04 7月, 2015 7 次提交
  8. 19 6月, 2015 1 次提交
  9. 23 5月, 2015 6 次提交
    • J
      libqos/ahci: Swap memread/write with bufread/write · 91d0374a
      John Snow 提交于
      Where it makes sense, use the new faster primitives.
      For generally small reads/writes such as for the PRDT
      and FIS packets, stick with the more wasteful but
      easier to debug memread/memwrite.
      
      For ahci-test (before migration tests):
      With this patch:
      real    0m3.675s
      user    0m2.582s
      sys     0m1.718s
      
      Without any qtest protocol improvements:
      real    0m14.171s
      user    0m12.072s
      sys     0m12.527s
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1430864578-22072-6-git-send-email-jsnow@redhat.com
      91d0374a
    • J
      qtest/ahci: add migrate halted dma test · 5d1cf091
      John Snow 提交于
      Test migrating a halted DMA transaction.
      Resume, then test data integrity.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1430417242-11859-10-git-send-email-jsnow@redhat.com
      5d1cf091
    • J
      qtest/ahci: add halted dma test · 189d1b61
      John Snow 提交于
      If we're going to test the migration of halted DMA jobs,
      we should probably check to make sure we can resume them
      locally as a first step.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1430417242-11859-9-git-send-email-jsnow@redhat.com
      189d1b61
    • J
      qtest/ahci: add flush migrate test · a606ce50
      John Snow 提交于
      Use blkdebug to inject an error on first flush, then attempt to flush
      on the first guest. When the error halts the VM, migrate to the
      second VM, and attempt to resume the command.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1430417242-11859-8-git-send-email-jsnow@redhat.com
      a606ce50
    • J
      qtest/ahci: add migrate dma test · 88e21f94
      John Snow 提交于
      Write to one guest, migrate, and then read from the other.
      adjust ahci_io to clear any buffers it creates, so that we
      can use ahci_io safely on both guests knowing we are using
      empty buffers and not accidentally re-using data.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1430417242-11859-7-git-send-email-jsnow@redhat.com
      88e21f94
    • J
      qtest/ahci: Add migration test · 278128ab
      John Snow 提交于
      Notes:
      
       * The migration is performed on QOSState objects.
      
       * The migration is performed in such a way that it does not assume
         consistency between the allocators attached to each. That is to say,
         you can use each QOSState object completely independently and then at
         an arbitrary point decide to migrate, and the destination object will
         now be consistent with the memory within the source guest. The source
         object that was migrated from will have a completely blank allocator.
      
      ahci-test.c:
       - verify_state is added
       - ahci_migrate is added as a frontend to migrate
       - test_migrate_sanity test case is added.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1430417242-11859-6-git-send-email-jsnow@redhat.com
      278128ab
  10. 29 4月, 2015 5 次提交
  11. 24 3月, 2015 1 次提交
  12. 19 3月, 2015 1 次提交
  13. 10 3月, 2015 4 次提交
  14. 16 2月, 2015 2 次提交