1. 17 Oct, 2011 3 commits
  2. 29 Sep, 2011 1 commit
  3. 28 Sep, 2011 1 commit
  4. 15 Sep, 2011 1 commit
  5. 25 Aug, 2011 2 commits
  6. 08 Aug, 2011 1 commit
  7. 29 Jul, 2011 1 commit
  8. 25 Jul, 2011 1 commit
  9. 15 Jul, 2011 1 commit
  10. 11 Jul, 2011 1 commit
    • Iustin Pop's avatar
      Reverts the patch series about console wrappers · 7238edb5
      Iustin Pop authored
      This reverts commits 030a9cb8 and
      There are two problems:
      - Makefile.am breakage, which is trivial to revert
      - unittest breakage, which honestly I'm not sure how to fix and how
        serial consoles interact with the unpause helper
      After the reset, the startup --paused still works but won't unpause
      the instance automatically (if I understood the code correctly).
      Furthermore, the code also fixes a style issue in hv_kvm.py (too long
      line) introduced by the next commit after the above two.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  11. 08 Jul, 2011 2 commits
  12. 10 May, 2011 1 commit
  13. 07 Jan, 2011 1 commit
  14. 27 Nov, 2010 2 commits
    • Iustin Pop's avatar
      Add missing paramter and unittests for this case · e695efbf
      Iustin Pop authored
      While git-am'ing the blockdev_prefix patch, I modified the hv_xen.py
      file but forgot to amend the patch :(, so here it is.
      Furthermore, to detect such inconsistencies in the future, a unittest is
      added that cross-checks the default parameters in constants.py and the
      hypervisor PARAMETERS dict.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    • Maciej Bliziński's avatar
      Adding blockdev_prefix to hypervisor options · 525011bc
      Maciej Bliziński authored
      Allows to install Red Hat based systems, for example Oracle Linux.
      Tested with OEL.
      The hypervisor by default offers a device named 'sda'.  If the SCSI
      module is already loaded, the disk device can't be created due to naming
      conflict, and the disk is not available.  A workaround is to modify the
      initrd by removing the scsi driver from it.  This helps, but doesn't
      allow to install the OS.
      Red Hat's installer, anaconda, runs parted, which tries to execute a
      check against /dev/sda and fails.  This makes anaconda think that the
      disk is faulty, and not available.  The best way to work around this, is
      to declare 'xvda' as the xen disk device.  Red Hat version of parted
      package contains a patch which makes parted skip the SCSI test if device
      name starts with 'xvd'.
      This patch allows to pass -H xen-pvm:blockdev_prefix="xvd" and
      successfully run the Red Hat installer.
      Signed-off-by: default avatarMaciej Bliziński <blizinski@google.com>
      [iustin@google.com: added the new parameter to XenHvm PARAMS]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  15. 18 Aug, 2010 1 commit
    • Manuel Franceschini's avatar
      Introduce new IPAddress classes · 8b312c1d
      Manuel Franceschini authored
      This patch unifies the netutils functions dealing with IP addresses to
      three classes:
      - IPAddress: Common IP address functionality
      - IPv4Address: IPv4 specific functionality
      - IPv6address: IPv6-specific functionality
      Furthermore it adds methods to check whether an address is a loopback
      address, replacing the .startswith("127") for IPv4 and adding IPv6
      It also provides the basis for future IPv6 address handling. Methods to
      convert IP strings to their corresponding interger values will allow to
      canonicalize IPv6 addresses.
      Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  16. 23 Jul, 2010 1 commit
  17. 16 Jul, 2010 1 commit
    • Iustin Pop's avatar
      Add a migration type global hypervisor parameter · e71b9ef4
      Iustin Pop authored
      Since migration live/non-live is more stable (e.g.) for Xen-PVM versus
      Xen-HVM, we introduce a new parameter for what mode we should use by
      default (if not overridden by the user, in the opcode).
      The meaning of the opcode 'live' field changes from boolean to either
      None (use the hypervisor default), or one of the allowed migration
      string constants. The live parameter of the TLMigrateInstance is still a
      boolean, computed from the opcode field (which is no longer passed to
      the TL).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  18. 09 Jul, 2010 1 commit
  19. 30 Jun, 2010 1 commit
  20. 04 Jun, 2010 1 commit
  21. 27 May, 2010 1 commit
  22. 21 Apr, 2010 1 commit
  23. 23 Mar, 2010 1 commit
    • Iustin Pop's avatar
      Extend the hypervisor API with name-only shutdown · bbcf7ad0
      Iustin Pop authored
      Currently the ShutdownInstance method of the hypervisors takes a full
      instance object. However, when doing instance shutdowns from the node
      only, we don't have a full object, just the name.
      To handle this use case, we add a new ‘name’ argument to the method,
      which makes the shutdown not use/rely on the ‘instance’ argument. The
      KVM and fake hypervisors need a little bit of work, otherwise the change
      is straightforward.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
  24. 29 Jan, 2010 1 commit
  25. 25 Jan, 2010 1 commit
  26. 04 Jan, 2010 2 commits
  27. 06 Nov, 2009 1 commit
  28. 04 Nov, 2009 4 commits
  29. 03 Nov, 2009 1 commit
  30. 22 Oct, 2009 1 commit
  31. 12 Oct, 2009 1 commit