mirror of
https://github.com/opencontainers/runtime-spec.git
synced 2026-02-05 09:45:57 +01:00
commit af0d16d781 introduced the
regression.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"vm": {
|
|
"description": "configuration for virtual-machine-based containers",
|
|
"type": "object",
|
|
"required": [
|
|
"kernel"
|
|
],
|
|
"properties": {
|
|
"hypervisor": {
|
|
"description": "hypervisor config used by VM-based containers",
|
|
"type": "object",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"$ref": "defs.json#/definitions/FilePath"
|
|
},
|
|
"parameters": {
|
|
"$ref": "defs.json#/definitions/ArrayOfStrings"
|
|
}
|
|
}
|
|
},
|
|
"kernel": {
|
|
"description": "kernel config used by VM-based containers",
|
|
"type": "object",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"$ref": "defs.json#/definitions/FilePath"
|
|
},
|
|
"parameters": {
|
|
"$ref": "defs.json#/definitions/ArrayOfStrings"
|
|
},
|
|
"initrd": {
|
|
"$ref": "defs.json#/definitions/FilePath"
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"description": "root image config used by VM-based containers",
|
|
"type": "object",
|
|
"required": [
|
|
"path",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"$ref": "defs.json#/definitions/FilePath"
|
|
},
|
|
"format": {
|
|
"$ref": "defs-vm.json#/definitions/RootImageFormat"
|
|
}
|
|
}
|
|
},
|
|
"hwConfig": {
|
|
"description": "hardware configuration for the VM image",
|
|
"type": "object",
|
|
"properties": {
|
|
"deviceTree": {
|
|
"$ref": "defs.json#/definitions/FilePath"
|
|
},
|
|
"vcpus": {
|
|
"$ref": "defs.json#/definitions/uint32"
|
|
},
|
|
"memory": {
|
|
"$ref": "defs.json#/definitions/uint64"
|
|
},
|
|
"dtdevs": {
|
|
"$ref": "defs.json#/definitions/ArrayOfStrings"
|
|
},
|
|
"iomems": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "defs-vm.json#/definitions/IOMemEntryFormat"
|
|
}
|
|
},
|
|
"irqs": {
|
|
"$ref": "defs.json#/definitions/ArrayOfUint32"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|