Permalink
Switch branches/tags
Nothing to show
Commits on Mar 28, 2011
  1. fix xc_dom_loginit parameter.

    xc_dom_loginit take a handle as first parameter, but is called without any.
    committed Mar 28, 2011
Commits on Mar 24, 2011
  1. Xen 4.1: switch to upstreamed oxenstored and drop the local one

    It would be painful to maintain two versions of the same thing. It would be confussing to keep both.
    
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 24, 2011
  2. Xen 4.1: now toolstack has to call (de)assign_device instead of qemu

    Fix CA-51980, and possibly CA-53479 as well.
    
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 24, 2011
  3. Xen 4.1: Changes and refactoring to cope with our xapi-libs upstreami…

    …ng move
    
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  4. Xen 4.1: Update qemu path on domain saving to align with upstream

    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  5. Xen 4.1: Use the oxenstored shipped with Xen instead

    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  6. Xen 4.1: xenguest updates for Xen4

    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  7. Xen 4.1: Adjust for minor differences in upstream xc bindings

    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  8. Xen 4.1: Update PV console path in xenstore.

    This was changed in more recent xenconsoled in order to better support multiple
    consoles.
    
    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  9. Xen 4.1: Drop support for vmxassist

    It hasn't existed since Xen 3.3 and is not supported by the upstream ocaml bindings.
    
    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  10. Xen 4.1: Query rpm to find build directories.

    Allows user with ~/.rpmmacros to build e.g.
    $ cat ~/.rpmmacros
    %_topdir        /data/rpmbuild
    %_tmppath       /data/tmp
    
    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  11. Xen 4.1: fix qemu params

    Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  12. Xen 4.1: Preliminary adjust on xenguest

    Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
    Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
    zli committed Mar 14, 2011
  13. Use correct context when clearing the introduced_by field.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 24, 2011
  14. Remove unused function from Xapi_sr.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 24, 2011
  15. Clear SR introduced_by field on VM recovery.

    If an SR introduced by a DR task turns out to be needed for VMs which
    are being recovered, it should have its introduced_by field set to
    Ref.null so that it is not forgotten when the DR task is destroyed.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 24, 2011
  16. CLI implementation of disaster recovery methods.

    Implement CLI commands for:
      - VM.recover
      - VM.assert_can_be_recovered
      - VM_appliance.recover
      - VM_appliance.assert_can_be_recovered
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 24, 2011
Commits on Mar 23, 2011
  1. Don't add templates to recovered appliances.

    When running VM_appliance.recover, if templates are recovered then they
    shouldn't be added to the resulting appliance.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  2. Include snapshots when recovering VMs.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  3. Uncomment VDI type check in VDI.open_database.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  4. Fix syntax errors caused by the merge with trunk.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  5. Improve error handling and logging for DR_task.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  6. Make some parameters optional for drtask-create.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 23, 2011
  7. CLI changes for DR_task object.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 22, 2011
  8. Remove redundant check for VM.appliance on VM.recover.

    A user should not be allowed to call VM.recover if the VM is part of an
    appliance. This is checked in message_forwarding.ml, so this check in
    xapi_vm.ml is redundant and can be removed.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 22, 2011
  9. Use datamodel schema when importing database.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 18, 2011
  10. Use raw VDIs for metadata replication.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 18, 2011
  11. Don't destroy the special foreign database sessions.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 18, 2011
  12. Make VDI.open_database return read-only session.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 18, 2011
  13. Improve VDI.open_database error handling.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 17, 2011
  14. Start/stop metadata replication on PBD plug/unplug.

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 17, 2011
  15. Use unique attach reasons when opening metadata from VDIs.

    VDI.open_database now uses a reason which includes the VDI uuid when
    attaching VDIs.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 17, 2011
  16. Move code from Xapi_sr to Xapi_vdi_helpers.

    It's necessary to be able to start and stop metadata replication on a
    per-VDI rather than a per-SR basis - these changes will make that
    easier.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 16, 2011
  17. Fix whitespace in pbd plug/unplug.

    md5sum of camlp4 output is a96b480444174766921e706378042cc8 before and
    after the change.
    
    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 16, 2011
  18. On vm_install check SR reference using DB.is_valid_ref

    Signed-off-by: John Else <john.else@citrix.com>
    johnelse committed Mar 16, 2011