1. 08 7月, 2020 1 次提交
    • Y
      block_hotplug: Fix failed to insert scsi device into specified HBA · f6dc5a81
      Yongxue Hong 提交于
      Failed to insert the SCSI device into the specified HBA controller
      because that setting the params "drive_bus" is to specify the HBA
      the controller then call method list_missing_named_buses of
      DevContainer to search HBA is used by iterating DevContainer.__buses
      list. But the __buses list didn't change after hotplugging since calling
      images_define_by_params and calling simple_hotplug are not used by
      matching way, so the __buses list is still using the same.
      Signed-off-by: NYongxue Hong <yhong@redhat.com>
      f6dc5a81
  2. 28 2月, 2020 1 次提交
  3. 24 2月, 2020 1 次提交
  4. 18 9月, 2019 1 次提交
    • Y
      block_hotplug: Refectoring block_hotplug · 7a8a2c10
      Yongxue Hong 提交于
      Update the order of importing modules by PEP8.
      
      Wrap the codes to function:
        1. Update function find_disk and rename it.
        2. Update function run_sub_test.
        3. Wrap the part of waiting plugging disks completely to
           function wait_plug_disks.
        4. Wrap the part of creating block devices to function
           create_block_devices.
        5. Wrap the part of getting block devices to function
           get_block_devices.
        6. Wrap the part of hotplug or unplug block devices to
           function plug_block_devices.
        7. Wrap the part of format windows disk to function format_disk_win.
        8. Wrap the part of doing io testing on disk to function
           run_io_test.
        9. Update function get_disk_size.
      Signed-off-by: NYongxue Hong <yhong@redhat.com>
      7a8a2c10
  5. 01 8月, 2019 1 次提交
  6. 02 7月, 2019 1 次提交
  7. 30 1月, 2019 1 次提交
  8. 20 12月, 2018 1 次提交
  9. 06 8月, 2018 1 次提交
  10. 06 6月, 2018 1 次提交
  11. 05 6月, 2018 1 次提交
  12. 26 4月, 2018 1 次提交
  13. 28 2月, 2018 1 次提交
  14. 27 2月, 2018 1 次提交
  15. 20 11月, 2017 1 次提交
  16. 06 11月, 2017 1 次提交
  17. 24 10月, 2017 1 次提交
  18. 12 1月, 2017 1 次提交
    • C
      qemu.tests.block_hotplug: set bootindex=0 for system disk. · 86f2be1f
      Cong Li 提交于
      In some enterprises, the default bootindex is -1 for system disk,
      which means cancel the boot index.
      If hotplug a data disk then reboot guest, qemu may set the data
      disk with higher bootindex, which depends on different enterprises'
      policies.
      As above, need set bootindex=0 for system disk.
      Signed-off-by: NCong Li <coli@redhat.com>
      86f2be1f
  19. 23 12月, 2016 1 次提交
    • C
      qemu.tests.block_hotplug: some improvements for the code. · 69d7e964
      Cong Li 提交于
      1. block_hotplug.cfg: add separate scenario for repeated plug/unplug, no need repeat 300 times for each scenario when one pci.
      2. block_hotplug.py: get and close a separate session when using it to fix file descriptor out of range problem.
      3. stop_continue.py: close session when test finished.
      Signed-off-by: NCong Li <coli@redhat.com>
      69d7e964
  20. 12 12月, 2016 1 次提交
  21. 13 4月, 2016 1 次提交
  22. 17 4月, 2015 1 次提交
  23. 21 1月, 2014 3 次提交
  24. 09 8月, 2013 1 次提交
  25. 03 7月, 2013 1 次提交
  26. 06 6月, 2013 1 次提交
  27. 29 12月, 2012 1 次提交
  28. 18 12月, 2012 1 次提交