CA-101571: Allow the vcpu params weight and cap value to be set independently
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
CA-122467: Fix for setting the right value of memory_actual after vm is started

There is a race condition between vm_start and monitor thread.
The monitor thread runs every 5s and updates the memory changes of the
VMs if any. It does that only if the VM's resident_on value is set to
localhost.
Currently, the memory changes are being seen by monitor thread while
VM is starting but since the start operation has'nt yet set the
resident_on, the monitor thread doesn't do anything.
However, the in-memory cache of monitor thread already has the vm_memory
changes for that VM. This needs to be removed, so that monitor thread
updates it next time when the resident_on value of the VM is set by
start operation.
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Report out-of-space, not patch-invalid

If there isn't enough space on the filesystem to upload a patch (which can take
2-3 times the size of the patch, because of multiple copies and gpg signature
checking), we should fail with an Out_of_space exception. Before, if the gpg
check failed because there wasn't enough space to write the unsigned cleartext,
we would erroneously report patch_invalid. Now we check that there is enough
free space to signature check the patch (we make a guess of 2 * size of the
patch), and catch Unix.ENOSPC exceptions and handle them accordingly.

CA-124008

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Whitespace fix for get_patch_to_local

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
assert_space_available takes optional multiplier arg

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
CA-122270: Support for specific xenserver.conf file

Patch this file instead of main one if present.
This file was added to avoid overriding main rsyslog.conf file.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
get_patch_to_local checks filesystem space on slave

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
mkdir -p /var/patch, which might not be there

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
whitespace: spaces to tabs

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Switch GRO by default (again)

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1636 from robhoes/master

Switch GRO by default (again)
Merge pull request #1579 from ravippandey/CA-122467

CA-122467: Fix for setting the right value of memory_actual after vm is ...
Add explicit Prototyped API lifecycle transition

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Update HTML API docs to take into account new lifecycle info

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Update HTML API doc branding

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CP-6958 - Fix vncterm path for 64bit.
CP-6958 - Fix 64-bit build, original commit by Jon Ludlum
Merge pull request #1617 from freddy77/xenserver_conf

CA-122270: Support for specific xenserver.conf file
VGPU: Fixed conflicts

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
Add 'vgpu' option to vga platform key