Merge "Add Packed Virtqueue extra spec and image properties"

This commit is contained in:
Zuul 2023-12-21 16:00:25 +00:00 committed by Gerrit Code Review
commit 41fa8223b7
4 changed files with 29 additions and 1 deletions

View File

@ -446,6 +446,15 @@ Here is a list of useful image properties and the values they expect.
Only supported by the libvirt driver.
``hw_virtio_packed_ring``
:Type: bool
Enables Packed VIRT-IO Queue feature. When set to true, instance will be
scheduled to hosts that support negotiating the packed virt queue format.
This feature may or may not be enabled depending on the guest driver.
When used it will improve the small packet performance of network io.
Only supported by the libvirt driver.
``hw_pointer_model``
:Type: str

View File

@ -33,6 +33,13 @@
"type": "string",
"enum": ["true", "false"]
}
,
"virtio_packed_ring": {
"title": "Virtio Packed Ring",
"description": "Enables Packed VIRT-IO Queue feature. When set to true, instance will bescheduled to hosts that support negotiating the packed virt queue format. This feature may or may not be enabled depending on the guest driver. When used it will improve the small packet performance of network io.",
"type": "string",
"enum": ["true", "false"]
}
},
"objects": []
}

View File

@ -773,7 +773,7 @@ class MetadefLoadUnloadTests:
'CIM::VirtualSystemSettingData': 17,
'OS::Compute::XenAPI': 1,
'OS::Compute::InstanceData': 2,
'OS::Compute::Libvirt': 3,
'OS::Compute::Libvirt': 4,
'OS::Compute::VMwareQuotaFlavor': 2,
'OS::Cinder::Volumetype': 1,
'OS::Glance::Signatures': 4,

View File

@ -0,0 +1,12 @@
---
upgrade:
- |
The following metadata definitions have been modified:
* Added ``hw:virtio_packed_ring`` boolean in the ``OS::Nova::Flavor``
namespace, and ``hw_virtio_packed_ring`` boolean in the
``OS::Glance::Image`` namespace.
You may upgrade these definitions using:
``glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]``