Merge pull request #1437 from simonjbeaumont/cp-5845-impl

Use GPU group allocation algorithm for choosing hosts and pGPUs for VMs
CP-5923: Add some generic code for vGPU testing

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #1439 from johnelse/vgpu-test-generic

Add some generic code for vGPU testing
CP-5845: Fix partially applied helper function

The call_api_functions was only partially applied and so the function couldn't
be used as a comparitor for the Schwarzian transform sort.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Don't allow changing of VGPUs for running VMs

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>