xapi-project/xen-api — pull request #1774 by cheng--zhang (2014-05-29 08:01:53+00:00)
Title: CA-121351:PR-1675: Confusing error message shown when trying to start a VM on a pool where the required vGPU cannot be allocated

In vm_start, when required VGPU cannot be allocated, the error message will show detail reason of why this problem happen, but for user it is hard to understand the situation because they just start a VM and the error message they can understand is just the VM cannot start because of VGPU cannot allocated.
This change is to catch all VGPU detail error message and translate it to vm cannot start error.