1. 30 10月, 2012 7 次提交
    • L
      virt: Unify and replace /tmp/kvm_autotest_root by /var/tmp/virt_test · c26312fb
      Lucas Meneghel Rodrigues 提交于
      There's no reason why all tests can't use a single roof
      for their activities, moreover, /var/tmp is a safer place
      to store isos and disk images, considering that we might
      have /tmp on tmpfs on Fedora 18 on.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      c26312fb
    • L
      utils_misc.virt_test_assistant: Tweaks and reorganization · bde9d025
      Lucas Meneghel Rodrigues 提交于
      Now setup log goes to main debug log, setup phase is
      displayed as a test. Also, there was a bug on the
      uncompress stage in case the image was already
      uncompressed, fixed by passing the right flags to 7za.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      bde9d025
    • L
      jeos: Use 7za rather than 7z · cc58231f
      Lucas Meneghel Rodrigues 提交于
      In Fedora, it requires less dependencies.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      cc58231f
    • L
      Modify run script to take advantage of JeOS · 8037da95
      Lucas Meneghel Rodrigues 提交于
      Modify the virt assistant function to:
      
       1) Download the JeOS image
       2) Setup the environment non interactively
      
      So it all will be done without user intervention.
      The first time the JeOS will have to be built,
      a couple of minutes to download the 120MB compressed
      image + 1 minute to uncompress the image will be
      required, after that it'll keep using the uncompressed
      image, unless you want to replace it by the pristine
      file you have on your hard drive, then you have to call
      run with --restore-image.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      8037da95
    • L
      Add JeOS minimal guest · ce5df5db
      Lucas Meneghel Rodrigues 提交于
      After exploring some possibilities, we came up with a
      minimal Fedora install, which presents an interesting
      compromise between features and disk space. The idea
      is to host the compressed image on my FedoraPeople
      area and have code to automatically download it if it's
      missing, and subsequently cache it.
      
      The unattended install variant is in fact only for
      people that, for some weird reason want to rebuild
      the minimal guest on a convenient way, nothing more
      than that.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      ce5df5db
    • C
      virt: fix libvirt_xml, virsh, utils_misc & friends · ee6ced19
      Chris Evich 提交于
      + libvirt_xml:
          + Improved docstring
          + Removed uuid module usage
          + Removed duplicate method definitions
          + Fixed comment spelling mistakes
          + Added os_arch_machine_map property to LibvirtXML
      
      + utils_misc:
          + Remove unused Closure Class
          + Fixed indentation / spacing
          + Added comments
      
      + utils_misc unittest:
          + Cleaned up nested class/method definitions
          + Unfolded some complex assignments
          + Fixed indentation / spacing
          + Add some dict-method unittests
      
      + virsh:
          + Updated/Clarified module docstring
          + Removed unnecessary DaArgMangler class
          + Fixed specialized VirshClosure Class
          + Cleaned up VIRSH_EXEC usage & warning
          + Replaced old use of PROPERTIES with __slots__ (resolved TODO)
          + Enforced setting of 'uri' and 'virsh_exec' properties
          + Made VirshSession class record the uri for later comparison
          + Major VirshPersistant cleanup/bugfix
              + Added session acounting (helps unittests)
              + Added close_session method to unify behavior
              + Fixed new_session to properly close alive existing sessions
              + Fixed set_uri to open new session only on uri change WRT old session
              + Cleaned up virsh.command to work with VirshPersistant properly
      
      + virsh_unittest:
          + Added back unittest module (some tests ignored if no libvirt)
          + Added 8 tests for VirshClosure
          + Added VirshPersistent session count check to ConstructorsTest
          + Added help command cache tests
          + Added VirshPersistant test teardown double-check session accounting
      
      + libvirt_vm: Cleaned up hvm/pvm arch and machine-type detection/check
      
      + guest-os.cfg.sample:
          + Added vm_arch_name param for every OS defaulting uname -m
          + Removed a few guest os types that aren't used anymore
      Signed-off-by: NChris Evich <cevich@redhat.com>
      ee6ced19
    • C
      virt-libvirt: Add virsh_define (and undefine) test · 5d8f1765
      Chris Evich 提交于
      Thanks to Yu Mingfei <yumingfei@cn.fujitsu.com> for the original
      virsh_rename_domain test which this is based upon. Exercises
      virsh define and virsh_undefine plus auto-generated uuids.
      Signed-off-by: NChris Evich <cevich@redhat.com>
      5d8f1765
  2. 27 10月, 2012 3 次提交
  3. 26 10月, 2012 9 次提交
  4. 25 10月, 2012 7 次提交
  5. 23 10月, 2012 14 次提交