diff options
author | Jike Song <jike.song@intel.com> | 2017-01-06 15:16:20 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-01-09 11:11:52 +0800 |
commit | 5753394b64a07dd502cb288a5fd52e71fb01fc5d (patch) | |
tree | 4fbdfa530800684f2db81d96798b9e1f84235d9f /drivers | |
parent | 03551e971f6e52c8dedd5741bf48631e65675759 (diff) |
drm/i915/gvt/kvmgt: return meaningful error for vgpu creating failure
The vgpu_create() routine we called returns meaningful errors to indicate
failures, so we'd better to pass it to our caller, the mdev framework,
whereby the sysfs is able to tell userspace what happened.
Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers')