Permalink
Commits on May 12, 2014
  1. Merge pull request #63 from jonludlam/great_stringext_rename

    jonludlam committed May 12, 2014
    s/Stringext/Xstringext/g
Commits on May 7, 2014
  1. s/Stringext/Xstringext/g

    jonludlam committed May 7, 2014
    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Commits on Apr 25, 2014
  1. Merge pull request #38 from djs55/xenserver-core-fixes

    euanh committed Apr 25, 2014
    Partial resync with xenserver-core
  2. Merge pull request #60 from euanh/master

    euanh committed Apr 25, 2014
    Remove unused obuild file
Commits on Apr 24, 2014
  1. Remove unused obuild file

    euanh committed Apr 24, 2014
    Signed-off-by: Euan Harris <euan.harris@citrix.com>
Commits on Mar 25, 2014
  1. Merge pull request #58 from robhoes/master

    robhoes committed Mar 25, 2014
    CA-128803: do not take timeoffset from last boot record
Commits on Mar 21, 2014
  1. Merge pull request #59 from simonjbeaumont/enable-blktap3

    thomassa committed Mar 21, 2014
    Comment out vbd-backend-kind example in config
Commits on Mar 20, 2014
  1. Comment out vbd-backend-kind example in config

    simonjbeaumont committed Mar 20, 2014
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Commits on Mar 14, 2014
  1. CA-128803: do not take timeoffset from last boot record

    robhoes committed Mar 14, 2014
    This is specially for upgrades from pre-xenopsd XenServers.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Commits on Mar 13, 2014
  1. Merge pull request #57 from johnelse/vgpu-trunk-merge

    johnelse committed Mar 13, 2014
    vGPU merge to trunk
Commits on Mar 12, 2014
  1. CA-123007: Hold a mutex inside Device.PCI.unbind_from_nvidia

    johnelse committed Jan 8, 2014
    If multiple threads are trying to unbind different devices in parallel,
    there is a chance that some of the nodes under /proc/driver/nvidia/ will
    disappear after a thread has retrieved the list of nodes but before that
    thread has accessed their contents.
    
    Holding a mutex for the duration of the (find device,lock device,unbind)
    sequence means this should no longer happen.
    
    Imported from xen-api.git ce643b2c09116674af98ed99aa0d9c9384d3c724
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  2. CA-122661: Disable persistence mode before unbinding from nvidia

    johnelse committed Jan 8, 2014
    Imported from xen-api.git 2dede13790f3b27e4ca152ea0e305c8dcb8085bd
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  3. Support both GPU PCI bus address formats

    johnelse committed Jan 8, 2014
    The NVIDIA procfs file currently uses the format:
    
    xxxx:xx.xx.x
    
    But everywhere else (lspci, sysfs, xapi/xenopsd) uses the format:
    
    xxxx:xx:xx.x
    
    This change means that the NVIDIA unbind code understands both
    formats,
    in case the procfs file changes in future to use the format used
    elsewhere.
    
    Imported from xen-api.git 2826ac93c70bdf0de600fbfd1b68325661c882e6
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  4. Workaround inconsistent device naming

    johnelse committed Jan 8, 2014
    Imported from xen-api.git 1812a93608b9282227af862aa8bad7d8b5a279d8
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  5. CP-6968: Lock NVIDIA devices before unbinding

    johnelse committed Jan 8, 2014
    Imported from xen-api.git 31aa6af9a9f833d86075f4f39305e823a4fc20e9
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  6. CP-6968: Bind GPUs to the NVIDIA driver when required

    johnelse committed Jan 8, 2014
    When creating a vGPU, make sure the target physical GPU is bound to the
    NVIDIA driver first.
    
    Imported from xen-api.git c3b6069aa5c752be70b40f6261496ab7a3505504
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  7. CP-6968: Add mechanism for binding PCI devices to the NVIDIA drivers

    johnelse committed Jan 8, 2014
    Imported from xen-api.git f334de664254d7409f812920483d14e9a4dcd9a1
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  8. Re-use the dev type in device.mli

    johnelse committed Jan 8, 2014
    Plus some minor whitespace fixes
    
    Imported from xen-api.git b745d135abdb1f32ff160cb948e3de9ceb73344f
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  9. CP-6853: Add a means of passing arbitrary arguments to vgpu

    johnelse committed Jan 8, 2014
    The contents of VM.platform:vgpu_extra_args (if any) will be passed to
    the vgpu process (and in turn to the NVIDIA plugin).
    
    This change also removes the vgpu_vnc_enabled key, since it can be
    passed via the new mechanism (and is also mostly obsolete, since VNC
    disabling is now automatic).
    
    Imported from xen-api.git fcbbfb751493cd607d65d18018684087fd566e93
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  10. CP-5931: Add flag to enable/disable the VNC console with vGPU

    johnelse committed Jan 8, 2014
    Setting VM.platform:vgpu_vnc_enabled to "true" or "false" will enable or
    disable copying of the vGPU's framebuffer to the VNC console. The
    setting will default to enabled if the platform key is not present.
    
    Imported from xen-api.git aaae0111e4cc72c258e54d18616088bf5ce23d57
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  11. Log some more information about daemons started by xenopsd

    johnelse committed Jan 8, 2014
    Imported from xen-api.git 5fe42e5c6026d5bf41f9fcf9a22147331a3ca85c
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  12. CP-5599: Allocate vGPU on VM start

    johnelse committed Jan 7, 2014
    Find a pGPU on which the vGPU can be allocated as part of the Vgpuops
    performed by VM.start.
    
    The strings used for the platform map have been added to
    Xenops_interface to avoid transcription errors.
    
    Imported from xen-api.git 5676980f5f75c54f5fc0f39b61445f5c8f4b689a
    
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  13. Fix a pattern match

    johnelse committed Jan 7, 2014
    It's only by chance that this pattern match worked as intended.
    
    Imported from xen-api.git e9dfc845c82e68410184e76bdd9cd89d16963623
    
    Signed-off-by: John Else <john.else@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  14. CP-5596: Have VM_start fail if vgpu fails to start

    johnelse committed Jan 7, 2014
    Factored out the code to start Qemu into a function that forks a daemon
    and waits for it to finish initialising (with a write to XenStore). This
    has then be reused to kick off the vgpu emulator binary which can now
    fail in the same way if it doesn't initialise. vgpu is kicked off in
    conjuction with Qemu since it's part of the device model.
    
    Imported from xen-api.git 620069e60130e35eba8823c7538eb72fb3b36940
    
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  15. CP-5596: Move VGPU startup logic to Device module

    johnelse committed Jan 7, 2014
    VGPU emulator now gets started alongside Qemu since it's really part of
    the emulation model.
    
    Imported from xen-api.git 5724e8cbe8579bec8f0ce94d032637378b9f218e
    
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  16. Whitespace: Neaten preliminary vGPU Xenops support

    johnelse committed Jan 7, 2014
    $ camlp4o /.../pa_type_conv.cma /.../pa_rpc.cma -printer \
      o -no_comments xc/xenops_server_xen.ml | md5sum
    93090dee8ab20ecb035bc5ab6e1badc6  -
    
    Imported from xen-api.git cefe0d2b435d86f4f5ec75525242bd38ff2cac86
    
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  17. Add 'vgpu' option to vga platform key

    johnelse committed Jan 7, 2014
    Imported from xen-api.git 92a8eec96e67664609ab1cdfdf15e7b9e7ec1ed8
    
    Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
  18. VGPU: Fixed conflicts

    johnelse committed Jan 7, 2014
    Imported from xen-api.git 44c984c5dbc4dff2f806f76e362d7533b4743e35
    
    Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
    Imported-by: John Else <john.else@citrix.com>
Commits on Mar 11, 2014
  1. Merge pull request #56 from akshayramani/Stable

    jonludlam committed Mar 11, 2014
    Fix xenopsd hardcoded path to qemu-dm. Pick the correct path for the qem...
  2. Fix xenopsd hardcoded path to qemu-dm. Pick the correct path for the …

    akshayramani committed Mar 11, 2014
    …qemu-dm.
    
    Signed-off-by: Akshay <akshay.ramani@citrix.com>
Commits on Feb 13, 2014
  1. Merge pull request #55 from simonjbeaumont/ea-1158-tr3

    johnelse committed Feb 13, 2014
    Configurable VBD backends
Commits on Feb 4, 2014
  1. Make default_vbd_backend_kind configurable option

    simonjbeaumont committed Feb 3, 2014
    This can be set by specifying default-vbd-backend-kind in xenopsd.conf.
    
    Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Commits on Jan 29, 2014