"Fossies" - the Fresh Open Source Software Archive

Member "glance-24.1.0/etc/metadefs/compute-guest-memory-backing.json" (8 Jun 2022, 1145 Bytes) of package /linux/misc/openstack/glance-24.1.0.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.

    1 {
    2     "namespace": "OS::Compute::GuestMemoryBacking",
    3     "display_name": "Guest Memory Backing",
    4     "description": "This provides the preferred backing option for guest RAM. Guest's memory can be backed by hugepages to limit TLB lookups. See also: https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement",
    5     "visibility": "public",
    6     "protected": true,
    7     "resource_type_associations": [
    8         {
    9             "name": "OS::Nova::Flavor",
   10             "prefix": "hw:"
   11         },
   12         {
   13             "name": "OS::Glance::Image",
   14             "prefix": "hw_"
   15         },
   16         {
   17             "name": "OS::Cinder::Volume",
   18             "prefix": "hw_",
   19             "properties_target": "image"
   20         }
   21     ],
   22     "properties": {
   23         "mem_page_size": {
   24             "title": "Size of memory page",
   25             "description": "Page size to be used for Guest memory backing. Value can be specified as <number><unit> (i.e.: 2MB, 1GB) or 'any', 'small', 'large'. If this property is set in Image metadata then only 'any' and 'large' values are accepted in Flavor metadata by Nova API.",
   26             "type": "string"
   27         }
   28     }
   29 }