Permalink
Commits on Nov 6, 2017
  1. CA-272126: Don't get NVidia vGPU types from XML file for now.

    robhoes committed Nov 6, 2017
    This bypasses the changes from b66e46c, until low-level bits have been fixed.
    
    This is the "smallest" fix for this issue. We already have a fallback to the
    old method for the case that the XML is invalid. We'll now take that path even
    when the XML did give us some valid vGPU types.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  2. Merge pull request #3330 from jonludlam/CA-271857

    robhoes committed Nov 6, 2017
    CA-271857: Add a fix for start-of-day xenopsd sync
Commits on Nov 3, 2017
  1. CA-271857: Add a fix for start-of-day xenopsd sync

    jonludlam committed Nov 3, 2017
    Only domain zero is unmanaged by xenopsd - it manages all other
    control domains.
    
    The effect of this bug was to cause non-dom0 control domains to be
    destroyed on xapi restart.
    
    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
  2. CA-271857: Add a (failing) test for this issue

    jonludlam committed Nov 3, 2017
    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Commits on Nov 1, 2017
  1. Merge pull request #3328 from mseri/CA-271052

    robhoes committed Nov 1, 2017
    CA-271052: pool join fixup
  2. CA-271052: pool join fixup

    mseri committed Nov 1, 2017
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  3. CP-24132: unit test for usb_scan.py (#3324)

    TalonsLee committed with mseri Nov 1, 2017
    * CP-24132: unit test for usb_scan.py
    
    Refactor usb_scan.py and add unit tests
    
    Signed-off-by: Xin(Talons) Li <xin.li@citrix.com>
Commits on Oct 27, 2017
  1. CP-22019: Add test to check VDI.{clone, copy} update cbt_enabled field

    minishrink committed with gaborigloi Oct 27, 2017
    Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
  2. Merge pull request #3325 from gaborigloi/update_opam

    mseri committed Oct 27, 2017
    xapi.opam: Add missing xapi-tapctl dependency
Commits on Oct 26, 2017
  1. xapi.opam: add missing xapi-tapctl dependency

    gaborigloi committed Oct 26, 2017
    Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
  2. xapi.opam: sort dependencies alphabetically

    gaborigloi committed Oct 26, 2017
    Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
  3. Merge pull request #3284 from edwintorok/is-valid-ref-no-rpc-null

    robhoes committed Oct 26, 2017
    CA-267946: Avoid Db.is_valid_ref RPC call when Ref is NULL
  4. CA-267946: Avoid Db.is_valid_ref RPC call when Ref is NULL

    edwintorok committed Oct 12, 2017
    e.g. in `update_allowed_operations` avoid repeated RPC calls that we know are
    always going to return false when the field is not set.
    
    Of course we'll still do the RPC call when it is not NULL to validate the ref.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
  5. Merge pull request #3277 from gaborigloi/reduce_number_of_vm_allowed_…

    robhoes committed Oct 26, 2017
    …op_checks
    
    Revert "Factor out all_vm_operations"
Commits on Oct 25, 2017
  1. CP-22019: Test enable/disable_cbt, data_destroy, and snapshot update …

    minishrink committed with gaborigloi Oct 25, 2017
    …the necessary fields
    
    
    Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
  2. Merge pull request #3323 from thomassa/prefer-non-wildcard

    gaborigloi committed Oct 25, 2017
    CP-25372: vdi_nbd_server_info subject: update doc
  3. CA-270642, CA-265691: Copy metrics from snapshot when reverting

    robhoes committed with BobBall Oct 25, 2017
    Do not copy the metrics reference from the `snapshot_metadata`, because this
    comes from the original VM (the one that the snapshot was taken of), and may
    have been destroyed meanwhile. The snapshot itself has a copy of the VM_metrics
    record of the original VM at the time the snapshot was taken, so copy that
    when restoring the VM.
    
    This applies to snapshots as well as checkpoints.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  4. CP-25372: vdi_nbd_server_info subject: update doc

    thomassa committed Oct 25, 2017
    Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
  5. Merge pull request #3321 from thomassa/prefer-non-wildcard

    mseri committed Oct 25, 2017
    CP-25372: Prefer non-wildcard certificate subjects
  6. CP-25372: Prefer non-wildcard certificate subjects

    thomassa committed Oct 25, 2017
    In the VDI.get_nbd_info function, when reading a TLS certificate and
    choosing a subject from it to include in the return value, avoid
    wildcard subjects if possible: return a concrete hostname (DNS name)
    if there is one, and a wildcard only as a last resort.
    
    Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
  7. Get Nvidia VGPU_types from XML file (#3238)

    robhoes committed with BobBall Oct 23, 2017
    * VGPU_types: switch to file reader in functor
    
    The old functor mandated a line-by-line read function for the whitelist file,
    which is a little inflexible. Changing this allows us to create new module for
    NVidia, based on this functor, that takes an XML file as input.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    
    * VGPU_types: add stub Vendor_nvidia module
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    
    * VGPU_types: reuse PCI access
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    
    * VGPU_types: Vendor_nvidia: fill in read_writelist
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    
    * VGPU_types: Vendor_nvidia tests
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    
    * VGPU_types: use new Nvidia module with fallback to the old
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  8. CA-267831: Remove bad assert_can_boot_here call from intra-pool SXM

    robhoes committed with BobBall Oct 2, 2017
    Instead of `reserve_memory_for_vm` we call `allocate_vm_to_host`, because the
    former calls `assert_can_boot_here` without taking into account that the
    storage is going to be migrated. It is an unnecessary check anyway, because it
    is preceded by assert_can_migrate, which does similar checks (but the right
    ones).
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  9. CA-265683: Use a sub-task for VM.assert_can_migrate inside VM.migrate…

    robhoes committed with BobBall Oct 2, 2017
    …_send
    
    VM.assert_can_migrate may now forward a VM.assert_can_migrate_sender call to
    the sending host, but it used the same task that was created for the
    VM.migrate_send call. This caused xapi to mark the entire migrate_send task as
    completed as soon as the assert_can_migrate_sender call finished. Using a
    sub-task avoids this.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  10. Only allow vGPU migration if experimental-feature flag is enabled

    robhoes committed with BobBall Sep 11, 2017
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  11. Update release data of new datamodel entries

    robhoes committed with BobBall Aug 17, 2017
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  12. CP-22599: Allow suspend+checkpoint for VMs with NVidia vGPUs

    robhoes committed with BobBall Jul 26, 2017
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  13. CP-22599: Reserve space for vGPU image in suspend VDI

    robhoes committed with BobBall Jul 26, 2017
    The additional space needed is equal to the framebuffer size of the VGPU type.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  14. Revert "CP-22597: xapi_xenops: add other_config parameter introduced …

    mseri committed with BobBall Jun 19, 2017
    …in idl"
    
    This reverts commit 2d3f08a.
    The change is not needed for the migration.
    
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  15. CP-22597: xapi_xenops: add other_config parameter introduced in idl

    mseri committed with BobBall Jun 7, 2017
    This is used only to pass the vgpu_map during a cross pool migration,
    the mechanism is the same used for the vif_map and vdi_map
    
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  16. CP-22597: cli_operations: add vgpu_map to vm_migrate

    mseri committed with BobBall Jun 7, 2017
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  17. CP-22597: message_forwarding: support vgpu_map in migrate_send and as…

    mseri committed with BobBall Jun 6, 2017
    …sert_can_migrate
    
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  18. CP-22597: xapi_vm_migrate:support vgpu_map in migrate_send and assert…

    mseri committed with BobBall Jun 6, 2017
    …_can_migrate
    
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  19. CP-22597: xapi_pgpu_helpers: support for vgpu_map in assert_destinati…

    mseri committed with BobBall Jun 6, 2017
    …on_pgpu_is_compatible_with_vm
    
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  20. CP-22597: import: use the vgpu_map if present

    mseri committed with BobBall Jun 6, 2017
    Signed-off-by: Marcello Seri <marcello.seri@citrix.com>