1. 29 6月, 2018 1 次提交
  2. 04 5月, 2018 1 次提交
  3. 26 3月, 2018 2 次提交
  4. 14 2月, 2018 2 次提交
    • E
      libqos: Use explicit QTestState for fw_cfg operations · 05e520f1
      Eric Blake 提交于
      Drop one more client of global_qtest by teaching all fw_cfg test
      functionality (invoked through alloc-pc) to pass in an explicit
      QTestState, adjusting all callers.  In particular, fw_cfg-test
      had to reorder things to create the test state prior to creating
      the fw_cfg (and drop a pointless strdup in the meantime), but that
      test now no longer depends on global_qtest.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      [thuth: Fixed conflict wrt pc_alloc_init() in vhost-user-test.c]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      05e520f1
    • E
      libqos: Track QTestState with QPCIBus · e5d1730d
      Eric Blake 提交于
      When initializing a QPCIBus, track which QTestState the bus is
      associated with (so that a later patch can then explicitly use
      that test state for all communication on the bus, rather than
      blindly relying on global_qtest).  Update the initialization
      functions to take another parameter, and update all callers to
      pass in state (for now, most callers get away with passing the
      current global_qtest as the current state, although this required
      fixing the order of initialization to ensure qtest_start() is
      called before qpci_init*() in rtl8139-test, and provided an
      opportunity to pass in the allocator in e1000e-test).
      
      Touch up some allocations to use g_new0() rather than g_malloc()
      while in the area, and simplify some code (all implementations
      of QOSOps provide a .init_allocator() that never fails).
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      [thuth: Removed hunk from vhost-user-test.c that is not required anymore,
       fixed conflict in qtest_vboot() and adjusted qpci_init_pc() in sdhci-test]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      e5d1730d
  5. 13 2月, 2018 1 次提交
  6. 09 2月, 2018 1 次提交
  7. 07 2月, 2018 3 次提交
  8. 19 1月, 2018 5 次提交
  9. 18 12月, 2017 1 次提交
  10. 06 9月, 2017 1 次提交
  11. 14 7月, 2017 1 次提交
  12. 02 6月, 2017 3 次提交
  13. 04 5月, 2017 1 次提交
  14. 01 3月, 2017 1 次提交
  15. 01 2月, 2017 1 次提交
  16. 28 1月, 2017 1 次提交
  17. 28 10月, 2016 2 次提交
  18. 24 10月, 2016 6 次提交
  19. 06 10月, 2016 1 次提交
  20. 23 9月, 2016 3 次提交
  21. 06 9月, 2016 1 次提交
    • E
      vhost-user-test: Use libqos instead of pxe-virtio.rom · cdafe929
      Eduardo Habkost 提交于
      vhost-user-test relies on iPXE just to initialize the virtio-net
      device, and doesn't do any actual packet tx/rx testing.
      
      In addition to that, the test relies on TCG, which is
      imcompatible with vhost. The test only worked by accident: a bug
      the memory backend initialization made memory regions not have
      the DIRTY_MEMORY_CODE bit set in dirty_log_mask.
      
      This changes vhost-user-test to initialize the virtio-net device
      using libqos, and not use TCG nor pxe-virtio.rom.
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      cdafe929
  22. 29 7月, 2016 1 次提交