1. 05 3月, 2020 1 次提交
  2. 02 1月, 2019 1 次提交
  3. 12 12月, 2018 1 次提交
  4. 13 4月, 2018 1 次提交
  5. 12 4月, 2018 1 次提交
  6. 04 4月, 2018 1 次提交
  7. 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
  8. 18 9月, 2015 1 次提交
  9. 26 5月, 2014 1 次提交
    • Y
      qemu.tests: Small bug fix for ksm_base · 6e995422
      Yiqiao Pu 提交于
      Correct the type of shared_mem in script. And enlarge the guest_script_overhead
      in cfg file to ignore the memory leak lead in guest which will lead to the memory
      allocate speed slow and make case failed in the memory allocate step.
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      6e995422
  10. 01 4月, 2014 1 次提交
  11. 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
  12. 07 12月, 2013 1 次提交
  13. 21 11月, 2013 1 次提交
  14. 02 11月, 2013 1 次提交
  15. 10 9月, 2013 1 次提交
  16. 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
  17. 27 6月, 2013 1 次提交
  18. 20 6月, 2013 1 次提交
    • Y
      virttest.test_setup: Add KSM setup class · a990e7f1
      Yiqiao Pu 提交于
      This class will setup and clean KSM config in different hosts.
      You can use setup_ksm to configure it. There are several params
      that can be used for ksm configure:
      
      ksm_pages_to_scan: pages ksmd will scan in one loop
      ksm_sleep_ms: million secs ksmd will sleep between two scan
      ksm_run: start ksmd or not
      ksm_module: if ksm is not compiled into kerenl need this parameter
                  tell scripts which module should it load
      disable_ksmtuned: if we need idsable ksmtuned during our test
      
      This class also can be used to disable KSM in some special case with
      set setup_ksm to yes and ksm_run to 0 or no.
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      a990e7f1
  19. 14 5月, 2013 1 次提交
    • Y
      qemu.tests: Add base KSM test case · 8b8c8a7d
      Yiqiao Pu 提交于
      Add three KSM test:
          - Negative test for ksm
          - KSM per vm
          - Merging and Splitting in one vm
      
      All this three test needs the following steps:
      1. Get and set the env parameters for KSM
      2. Boot up guest with proper command line
      3. Set env inside of guest
      4. Allocate 0 pages to make the KSM run
      5. Allocate different pages to get split of the pages(option for
         different cases)
      6. Result check and env reset
      
      change from v1:
          - add the host depended parameters in cfg file
          - use os.system to restart ksmtund as commands will wait the
            return value.
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      
      This patch fix the problem caused by the sciprt have move to
      another dir. So modify the path of the file.
      Signed-off-by: Nyunzheng <yunzheng@redhat.com>
      
      Fix reference problem
      Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
      
      Update API using in ksm_base to date
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      
      Set up the memory filled in guest lower that the free memory in guest.
      To ignore the OOM killer.
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      8b8c8a7d