Skip to content
Permalink
master

Commits on May 4, 2011

  1. [CA-57775] [BLOCKER] Repairs function "Helpers.host_versions_not_decr…

    …easing" so that it performs the correct comparison: (host_from <= host_to) rather than (host_from > host_to).
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    Acked-by: Mike McClurg <mike.mcclurg@citrix.com>
    jonathanknowles committed May 4, 2011

Commits on Apr 15, 2011

  1. [CA-56799] Increasing the verbosity of debug messages associated with…

    … synchronisation point #3 of the VM.migrate protocol.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Apr 15, 2011
  2. [CA-56799] Adding the option to increase the verbosity of debug log m…

    …essages in Xapi_vm_migrate.Handshake.{send,recv}. By default, this option is disabled.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Apr 15, 2011

Commits on Apr 7, 2011

  1. [CA-55611] Relax the PV driver version check within Host.compute_evac…

    …uation_plan. In future we will introduce a check based on PV driver capabilities.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Apr 7, 2011

Commits on Apr 5, 2011

Commits on Mar 24, 2011

  1. [EA-1069] Removing an unused field from Xapi_pif.{tables,make_tables}.

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  2. [CP-2531] Extend "xe-reset-networking" so that it calls, just before …

    …it triggers a reboot, the domain 0 command that resets the naming of network devices back to a "fresh-install" state.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  3. [CP-2507] Extend "Pool.eject" so that it calls, just before it trigge…

    …rs a reboot, the domain 0 command that resets the naming of network devices back to a "fresh-install" state.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  4. [CP-2519] Remove from PIF.{tables,make_tables} all tables whose prima…

    …ry key is "MAC address".
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  5. [REFACTORING] Merging validation logic from Xapi_pif.{introduce,intro…

    …duce_internal} into Xapi_pif.{introduce_internal}.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  6. [CP-2518] Change code that uses PIF.{tables,make_tables} to use table…

    …s with a primary key of "kernel device name" rather than tables with a primary key of "MAC address".
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  7. [CP-2525] During Xapi startup, call PIF.refresh_all to update the MAC…

    … addresses and MTUs of all existing PIFs.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  8. [CP-2526] Change PIF.scan so that it calls PIF.refresh_all to update …

    …the metadata of existing PIFs, and PIF.introduce for every device not currently represented by a PIF
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  9. [CP-2517] Extend PIF.{tables,make_tables}, adding tables that have a …

    …primary key of "kernel device name" (in addition to those having a primary key of "MAC address").
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011
  10. [CP-2523] Add internal function PIF.refresh that takes a PIF and auto…

    …matically refreshes its MAC and MTU fields with the values currently held by the underlying network device.
    
    [CP-2524] Add internal function PIF.refresh_all that refreshes the MAC and MTU fields of all existing PIFs (on the current host) with the values currently held by their underlying network devices.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 24, 2011

Commits on Mar 23, 2011

  1. [CP-2505] Change Pool.eject so that it writes first-boot networking d…

    …ata for only the management interface, and not for every interface.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  2. [CP-2528] Change the xe pif-introduce CLI function so that if the MAC…

    … address is omitted, it passes the empty string as the MAC to the underlying API function.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  3. [CP-2527] Change PIF.introduce so that if the specified MAC parameter…

    … is equal to the empty string, it uses the MAC address currently held by the underlying network interface.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  4. [CP-2532] Remove the unused function Xapi_pif.scan_bios.

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  5. [CP-2530] Change the function Xapi.check_network_reset to use Xapi_pi…

    …f.scan rather than Xapi_pif.scan_bios.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  6. [CP-2508] Make PIF.introduce require the existence of a network inter…

    …face with the specified device name and MAC address.
    
    [CP-2522] Make PIF.introduce require that the specified device name is not already represented by a PIF object.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  7. [TIDYING] Adds some comments to explain the semantics of record fields.

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011
  8. [TIDYING] Replacing function "set_difference" with the equivalent sta…

    …ndard library function.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 23, 2011

Commits on Mar 8, 2011

  1. [CP-2282] On VM start, if the VM has access to exactly one VDI that (…

    …a.) has a timeoffset and (b.) is configured to reset on boot, then use that timeoffset instead of the one configured in VM.platform:timeoffset.
    
    Also:
    * If more than one such VDI is found, produce an error that causes the VM start to fail.
    * If no such VDI is found, then fall back to the timeoffset configured in VM.platform:timeoffset.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 8, 2011
  2. [NON-SEMANTIC-CHANGE] Reformatting to meet coding standard.

    This patch introduces no semantic change:
    
    $ git checkout 8b84f45
      HEAD is now at 8b84f45... Merge branch 'master' of https://github.com/jjd27/xen-api into jjd-ca-52129
    $ camlp4 -parser o -printer o -no_comments ocaml/xapi/vmops.ml | md5sum
      097ea71886bc97504736c74b276ea62e  -
    
    $ git checkout 56765489f645c2eefcb5c4e149db564896475208 # Child
      HEAD is now at 5676548... [NON-SEMANTIC-CHANGE] Reformatting to meet coding standard.
    $ camlp4 -parser o -printer o -no_comments ocaml/xapi/vmops.ml | md5sum
      097ea71886bc97504736c74b276ea62e  -
    
    Signed-off-by: Xen Git User <xen-git@citrix.com>
    jonathanknowles committed Mar 8, 2011

Commits on Mar 3, 2011

  1. [CP-2284] Adds the "IntelliCache" feature.

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Mar 3, 2011

Commits on Jan 31, 2011

  1. Prevents build_pre from overwriting xen_maxmem.

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    
    Previously, during a VM.resume, both of the following functions would overwrite xen_maxmem:
    
      1. transfer_reservation_to_domain:
         xen_maxmex := reservation
      2. build_pre:
         xen_maxmem := static_max
    
    However, only the first assignment was correct.
    
    All domain creation operations trigger the transfer_reservation_to_domain function. Therefore it is safe to remove the second, faulty assignment.
    jonathanknowles authored and matthiasgoergens committed Jan 31, 2011
  2. Enables shadow memory by default for PV domains, with a hard-wired mu…

    …ltiplier of 1.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    Acked-by: Jonathan Ludlam <jonathan.ludlam@eu.citrix.com>
    
    This change enables successful migrations of PV domains away from hosts with no spare memory.
    jonathanknowles authored and matthiasgoergens committed Jan 31, 2011

Commits on Oct 28, 2010

  1. [CA-43341] Amends squeezed so that just after transferring a reservat…

    …ion to a domain, it calls Xc.domain_setmaxmem with <size-of-reservation>.
    
    This fix prevents the subsequent domain build from failing due to an artificially low maxmem.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    Acked-by: Jonathan Ludlam <jonathan.ludlam@eu.citrix.com>
    Acked-by: Dave Scott <dave.scott@eu.citrix.com>
    jonathanknowles committed Oct 28, 2010

Commits on Oct 12, 2010

  1. Rescues the indendation for several functions within the quicktest mo…

    …dule. Splits an often-modified list of tests into multiple lines, reducing the chance that further patches will conflict with one another.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Oct 12, 2010

Commits on Aug 23, 2010

  1. [CP-1698] Extends the set of valid HA restart priorities to include "0".

    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Aug 23, 2010
  2. [CP-1698] Refactors the HA codebase to extract out a common, repeated…

    … definition. (Fixes a minor violation of the DRY principle.)
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Aug 23, 2010

Commits on May 19, 2010

  1. [CA-41286] Fixes a memory accounting error in the squeezing code.

    When calculating an upper bound for the memory usage of an HVM domain with no balloon driver, the squeezing code would double-count (inappropriately) the shadow memory area.
    This caused the squeezing algorithm to underestimate the amount of usable memory of any host running one or more HVM domains without balloon drivers.
    This change removes the double-counting error, and also fixes a bug that caused the squeezer to add (inappropriately) the shadow memory size to Xen maxmem.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    Acked-by: Dave Scott <dave.scott@eu.citrix.com>
    jonathanknowles committed May 19, 2010

Commits on Apr 1, 2010

  1. [CA-39743] Wait for Xen to scrub host memory (only if necessary) befo…

    …re building a domain.
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
    jonathanknowles committed Apr 1, 2010
  2. [CA-39743] Improvements to the wait_xen_free_mem function.

    Improvements include:
    * We read the values of free_memory and scrub_memory atomically (rather than separately).
    * We exit early if (free_memory < required_memory) and (scrub_memory = 0) as it's unlikely that more will become free.
    * We time out more quickly than before (64 seconds rather than 256 seconds).
    
    Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
    jonathanknowles committed Apr 1, 2010
Older
You can’t perform that action at this time.