Browse Source

Merge "add metadef vlaues for new video models"

tags/19.0.0.0b1
Zuul 1 week ago
parent
commit
ca00b48e59

+ 4
- 2
doc/source/admin/useful-image-properties.rst View File

@@ -420,8 +420,10 @@ Here is a list of useful image properties and the values they expect.
420 420
      - Integer
421 421
    * - libvirt API driver
422 422
      - ``hw_video_model``
423
-     - The video image driver used.
424
-     - ``vga``, ``cirrus``, ``vmvga``, ``xen``, or ``qxl``.
423
+     - The graphic device model presented to the guest.
424
+       hw_video_model=none disables the graphics device in the guest and should
425
+       generally be used when using gpu passthrough.
426
+     - ``vga``, ``cirrus``, ``vmvga``, ``xen``, ``qxl``, ``virtio``, ``gop`` or ``none``.
425 427
    * - libvirt API driver
426 428
      - ``hw_video_ram``
427 429
      - Maximum RAM for the video image. Used only if a ``hw_video:ram_max_mb``

+ 5
- 2
etc/metadefs/compute-libvirt-image.json View File

@@ -44,14 +44,17 @@
44 44
         },
45 45
         "hw_video_model": {
46 46
             "title": "Video Model",
47
-            "description": "The video image driver used.",
47
+            "description": "The graphic device model presented to the guest. hw_video_model=none disables the graphics device in the guest and should generally be used when using gpu passthrough.",
48 48
             "type": "string",
49 49
             "enum": [
50 50
                 "vga",
51 51
                 "cirrus",
52 52
                 "vmvga",
53 53
                 "xen",
54
-                "qxl"
54
+                "qxl",
55
+                "virtio",
56
+                "gop",
57
+                "none"
55 58
             ]
56 59
         },
57 60
         "hw_video_ram": {

+ 3
- 0
releasenotes/notes/train-metadefs-changes-c4380754cdd13a19.yaml View File

@@ -9,6 +9,9 @@ upgrade:
9 9
     * Added ``powervm`` to the ``hypervisor_type`` enumeration in the
10 10
       ``OS:::Compute::Hypervisor`` namespace.
11 11
 
12
+    * Added ``virtio``, ``gop`` and ``none`` to the ``hw_video_model``
13
+      enumeration in the ``OS::Compute::LibvirtImage`` namespace.
14
+
12 15
     You may upgrade these definitions using:
13 16
 
14 17
     ``glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]``

Loading…
Cancel
Save