1. 10 Sep, 2014 2 commits
    • Nikos Skalkotos's avatar
      Use qcow2 to snapshot image files · d1000f25
      Nikos Skalkotos authored
      Only use the device mapper when snapshotting block devices. If the
      input media is a regular file, then create a qcow2 image and define
      the original media as backing_file.
      d1000f25
    • Nikos Skalkotos's avatar
      Make block device size equal to virtual size · b680d3a9
      Nikos Skalkotos authored
      When snapshotting make sure that the size of the underlying block
      device is equal to the input media's virtual size. If the input media
      is not raw, the QEMU image driver may grow the underlying image. The
      block device should be big enough to allow this kind of operations.
      b680d3a9
  2. 09 Sep, 2014 1 commit
  3. 04 Sep, 2014 1 commit
  4. 05 Aug, 2014 1 commit
  5. 15 Jul, 2014 1 commit
    • Nikos Skalkotos's avatar
      Add device attribute in Disk class · fcc4df5d
      Nikos Skalkotos authored
      This attribute hosts the block device associated with this Disk
      instance. This can be the original media if the source media is a block
      device, a loop device of the original media if the original media is a
      regular file or a loop device of a temporary object if the original
      media is a directory.
      fcc4df5d
  6. 10 Jun, 2014 1 commit
    • Nikos Skalkotos's avatar
      Switch license to GPLv3 · 822ccd58
      Nikos Skalkotos authored
      According to the decision of the GRNET Board of Directors,
      switch license to GPLv3.
      
      This commit will be propagated to the release
      and master branches based on git flow, and the next
      release will be licensed as GPLv3.
      822ccd58
  7. 30 Jul, 2013 2 commits
  8. 11 Jun, 2013 1 commit
    • Nikos Skalkotos's avatar
      Code Cleanup · 121f3bc0
      Nikos Skalkotos authored
       * Prefix all private methods with _
       * Write missing docstrings
       * Move all public methods above the private ones
       * Add module docstrings where missing
       * Define source code encodings on all modules
      121f3bc0
  9. 27 May, 2013 1 commit
  10. 25 Apr, 2013 1 commit
  11. 28 Mar, 2013 2 commits
  12. 26 Mar, 2013 1 commit
    • Nikos Skalkotos's avatar
      Rename DiskDevice class to Image · f5174d2c
      Nikos Skalkotos authored
      Rename DiskDevice class to Image and move it to a seperate module.
      Also, don't let the user access the os_type/* modules directly. In
      Image class create the `os' member variable that will host an
      appropriate instance of one of the OSBase classes.
      f5174d2c
  13. 22 Mar, 2013 1 commit
  14. 06 Mar, 2013 1 commit
  15. 18 Jan, 2013 1 commit
  16. 16 Jan, 2013 1 commit
    • Nikos Skalkotos's avatar
      Support python-sendfile 2.x · 717b0434
      Nikos Skalkotos authored
      Support both versions (1.2.x and 2.x) of python-sendfile. In
      v1.2.x (py-sendfile) the returning value of the sendfile function is a
      tuple, where in v2.x (pysendfile) it's a simple integer.
      717b0434
  17. 10 Jan, 2013 1 commit
  18. 03 Jan, 2013 2 commits
  19. 31 Dec, 2012 1 commit
  20. 30 Dec, 2012 3 commits
    • Nikos Skalkotos's avatar
      Retry cleanup commands if they fail · f3845095
      Nikos Skalkotos authored
      Add a new try_fail_repeat function that wraps cleanup system commands
      and retries them if they fail. There are cases where commands like
      dmsetup, umount and losetup -d may fail with device is busy. In most
      of the cases, sleeping for halve a second and retrying does the job.
      f3845095
    • Nikos Skalkotos's avatar
      567891a6
    • Nikos Skalkotos's avatar
      Remove progress bar for guestfs.launch() progress · 923d52df
      Nikos Skalkotos authored
      In Guestfs you get notifications about progress on some functions like
      launch() by registring callback functions. When using guestfs from python,
      this is fragile. If the callback functions raises an exception, you end up
      with segmentation fault. It is better to completely remove the progress
      monitoring from launch().
      923d52df
  21. 28 Dec, 2012 1 commit
  22. 21 Dec, 2012 1 commit
  23. 20 Dec, 2012 1 commit
  24. 19 Dec, 2012 2 commits
  25. 13 Dec, 2012 1 commit
  26. 11 Dec, 2012 1 commit
  27. 21 Nov, 2012 1 commit
  28. 02 Nov, 2012 1 commit
  29. 18 Oct, 2012 2 commits
  30. 24 Aug, 2012 1 commit
  31. 08 Aug, 2012 1 commit
  32. 28 Jun, 2012 1 commit