From 6e53489a9994ebd86753a98f376a41fe8d85f628 Mon Sep 17 00:00:00 2001 From: naichuans Date: Tue, 30 Jan 2018 11:02:04 +0000 Subject: [PATCH] VGPU: Modify the example of vgpu white_list set `enabled_vgpu_types` flag has been set in nova.conf to set enabled vgpu type of current host. The example is wrong. Modify the example to avoid mislead. Change-Id: If7a150d4d28609cabeb5f513bbd134a969fca17c Closes-Bug: #1746217 (cherry picked from commit 8e687ab4f85561e31e4da06d89e9505179abc127) --- nova/conf/devices.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nova/conf/devices.py b/nova/conf/devices.py index 0974eedbb129..a12c6c0d151d 100644 --- a/nova/conf/devices.py +++ b/nova/conf/devices.py @@ -24,9 +24,11 @@ A list of the vGPU types enabled in the compute node. Some pGPUs (e.g. NVIDIA GRID K1) support different vGPU types. User can use this option to specify a list of enabled vGPU types that may be assigned to a -guest instance. An example is as the following: +guest instance. But please note that Nova only supports a single type in the +Queens release. If more than one vGPU type is specified (as a comma-separated +list), only the first one will be used. An example is as the following: [devices] - enabled_vgpu_types = ['GRID K100', 'Intel GVT-g', 'MxGPU.2', 'nvidia-11'] + enabled_vgpu_types = GRID K100,Intel GVT-g,MxGPU.2,nvidia-11 """) ]