mirror of
https://github.com/opencontainers/runtime-spec.git
synced 2026-02-05 09:45:57 +01:00
This adds section to describe HW that should be passed through to the VM. This enables Hardware-level isolation provided by XEN for e.g. functional safety use cases. Adds hwConfig object to the VM section which is apt to describe the initial configuration for the VM, sush as number of vcpus and memory, provided to the VM. Hardware description includes path to the device-tree, that should be passed to the VM and the hardware configuration parameters which provides all needed data for VM to use the devices, such as: - dtdevs: host device tree nodes to passthrough to the VM; - iomems: allow auto-translated domains to access specific hardware I/O memory pages; - irqs: allows VM to access specific physical IRQs. Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>
33 lines
784 B
JSON
33 lines
784 B
JSON
{
|
|
"definitions": {
|
|
"RootImageFormat": {
|
|
"type": "string",
|
|
"enum": [
|
|
"raw",
|
|
"qcow2",
|
|
"vdi",
|
|
"vmdk",
|
|
"vhd"
|
|
]
|
|
},
|
|
"IOMemEntryFormat": {
|
|
"type": "object",
|
|
"properties": {
|
|
"firstGFN": {
|
|
"$ref": "defs.json#/definitions/uint64"
|
|
},
|
|
"firstMFN": {
|
|
"$ref": "defs.json#/definitions/uint64"
|
|
},
|
|
"nrMFNs": {
|
|
"$ref": "defs.json#/definitions/uint64"
|
|
}
|
|
},
|
|
"required": [
|
|
"firstMFN",
|
|
"nrMFNs"
|
|
]
|
|
}
|
|
}
|
|
}
|