1. 02 5月, 2018 1 次提交
  2. 12 4月, 2018 1 次提交
  3. 11 4月, 2018 1 次提交
  4. 23 3月, 2018 1 次提交
  5. 15 3月, 2018 1 次提交
  6. 12 2月, 2018 1 次提交
  7. 09 2月, 2018 1 次提交
    • L
      Balloon check:Modify ballon min_size calculation formula · f512026e
      Li Jin 提交于
      1. When windows guest mem is small(e.g.1024M), calculated mem
      min_size will be larger than ori_mem if ratio=0.5, which will
      lead balloon cases fail.
      2. When do balloon operation in linux guest, we should consider
      crashkernel value as well,leaving enough memory for guest to
      avoid guest OOM.
      
      So modify the formula and leave a balloon buffer(300M in default)
      for guest min_sz.
      Signed-off-by: NLi Jin <lijin@redhat.com>
      f512026e
  8. 06 2月, 2018 1 次提交
  9. 13 11月, 2017 1 次提交
  10. 10 5月, 2017 1 次提交
  11. 27 4月, 2017 1 次提交
  12. 20 4月, 2017 1 次提交
  13. 12 4月, 2017 1 次提交
  14. 24 1月, 2017 2 次提交
  15. 06 1月, 2017 1 次提交
  16. 01 12月, 2016 1 次提交
  17. 16 11月, 2016 1 次提交
    • A
      qemu.tests:add negative case for balloon test · c0e6db22
      Aihua Liang 提交于
      qemu.tests.balloon_check:
      1.Optimize minimum ballooned size for windows guest
      2.Optimize illegal test for windows guest
      3.Seperate illegal as an individual cfg file
      4.Compare windows guest's used memory for balloon check.
      5.add function get_used_mem
      6.modify the log info
      
      qemu.tests.balloon_service:
      1.Optimize code for balloon_service test.
      
      qemu.tests.cfg.balloon_illegal:
      1.add new cfg "balloon_illegal.cfg".
      2.Adjust code for balloon_illegal test
      3.Optimize code for windows's minimum balloon size
      
      qemu.tests.cfg.balloon_service:
      1.Set ratio to 0.1
      
      qemu.tests.cfg.balloon_check:
      1.Set ratio to 0.1
      Signed-off-by: NAihua Liang <aliang@redhat.com>
      c0e6db22
  18. 11 5月, 2016 1 次提交
  19. 14 3月, 2016 1 次提交
  20. 13 1月, 2016 1 次提交
  21. 21 9月, 2015 1 次提交
    • L
      tp-qemu: Import cleanups · 288ce897
      Lucas Meneghel Rodrigues 提交于
      Clean up imports across the board in tp-qemu. The criteria
      followed was:
      
      1) Remove unnecessary imports
      2) Turn multi imports from a single entry point to one
         import per line. This increases both patch and
         source code readability.
      3) Separate blocks of imports with a line:
         * Python standard library imports
         * Autotest imports
         * virttest imports
         * Internal tp-qemu imports
      4) Remove try/except blocks refering autotest libs and
         stick with the virttest.staging copy
      
      This paves the way for the future removal of autotest
      references, replacing those references with avocado ones.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      288ce897
  22. 17 2月, 2015 1 次提交
  23. 22 7月, 2014 1 次提交
  24. 19 12月, 2013 1 次提交
    • C
      virt: change test entry point method name · 6124219f
      Cleber Rosa 提交于
      There's no need to have the name of the "run_<name>" method (main
      test entry point) depend on the test name. So, for simplicity sake,
      let's just name the test entry point "run".
      
      I have decided to not fallback gracefully to the previous naming
      convention as I believe this can lead to confusion in the future.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      6124219f
  25. 16 12月, 2013 1 次提交
  26. 08 11月, 2013 1 次提交
  27. 09 10月, 2013 1 次提交
    • Y
      qemu.test: Restructure balloon_check · 0ad8d3cc
      Yiqiao Pu 提交于
      Now have two different class for Windows and Linux balloon test. Most of the
      functions in these classes are same and inherit from class BallooningTest.
      They have different error_report and get_memory_status. Also add some different
      method to set ballooned memory in cfg files. Now the ballooned memory size also
      can be set by a given value or a ratio base on the assign memory value.
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      0ad8d3cc
  28. 10 9月, 2013 1 次提交
  29. 09 9月, 2013 1 次提交
    • L
      PEP8 mass fixes · 2017db91
      Lucas Meneghel Rodrigues 提交于
      With the help of the PEP8 script, a semi-automated clean
      of the code base was made, and effectively changing some
      of the coding style rules of our code base:
      
       * No more 2 lines spacing among functions
       * No more combined module imports
      
      In the end, it was going to be too difficult to take
      into consideration E501 (line length > 80) errors and
      W601 (.has_key() is deprecated), so these were ignored,
      at least for now.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      2017db91
  30. 16 7月, 2013 1 次提交
  31. 06 6月, 2013 1 次提交
  32. 09 5月, 2013 6 次提交
  33. 04 4月, 2013 1 次提交
    • L
      qemu.tests: Use params[] for required params · a9f0d2c5
      Lukáš Doktor 提交于
      This patch benefits from the better error message when key is missing
      in config params. Instead of custom handling of missing param it
      uses params[] directly.
      
      I modified those params, where I was 100% certain that they are
      required and doesn't have default value:
       * val = params.get(..) followed by if not val: raise...
       * int(params.get(...))
       * params.get(...).split()
       * commands which require string (eg. session.cmd(params.get(...)))
      
      I didn't test all the tests before and after in order to verify
      possible typos but I used pylint before and after, watching for
      new errors (code rate before and after).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      a9f0d2c5
  34. 25 12月, 2012 1 次提交