1. 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
  2. 05 8月, 2019 1 次提交
  3. 02 7月, 2019 1 次提交
  4. 19 7月, 2018 1 次提交
  5. 27 6月, 2018 1 次提交
  6. 05 6月, 2018 1 次提交
  7. 13 4月, 2018 1 次提交
  8. 11 4月, 2018 1 次提交
  9. 27 2月, 2018 1 次提交
  10. 23 2月, 2018 1 次提交
  11. 12 2月, 2018 1 次提交
  12. 06 11月, 2017 1 次提交
  13. 24 10月, 2017 1 次提交
  14. 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
  15. 13 4月, 2016 1 次提交