Merge "add metadef vlaues for new video models"

This commit is contained in:
Zuul 2019-09-06 12:03:03 +00:00 committed by Gerrit Code Review
commit ca00b48e59
3 changed files with 12 additions and 4 deletions

View File

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

View File

@ -44,14 +44,17 @@
}, },
"hw_video_model": { "hw_video_model": {
"title": "Video Model", "title": "Video Model",
"description": "The video image driver used.", "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.",
"type": "string", "type": "string",
"enum": [ "enum": [
"vga", "vga",
"cirrus", "cirrus",
"vmvga", "vmvga",
"xen", "xen",
"qxl" "qxl",
"virtio",
"gop",
"none"
] ]
}, },
"hw_video_ram": { "hw_video_ram": {

View File

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