2014-01-30 11:44:26 +01:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"title": "KVM manifest",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2014-02-23 20:48:42 +01:00
|
|
|
"system": {
|
2014-01-30 11:44:26 +01:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"virtio": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2014-02-23 20:48:42 +01:00
|
|
|
"type": "string",
|
|
|
|
"enum": ["virtio",
|
|
|
|
"virtio_pci",
|
|
|
|
"virtio_balloon",
|
|
|
|
"virtio_blk",
|
|
|
|
"virtio_net",
|
|
|
|
"virtio_ring"]
|
2014-01-30 11:44:26 +01:00
|
|
|
},
|
|
|
|
"minItems": 1
|
2014-02-23 20:48:42 +01:00
|
|
|
},
|
2014-01-30 11:44:26 +01:00
|
|
|
"bootloader": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["grub", "extlinux"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"volume": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"backing": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["raw"]
|
|
|
|
},
|
|
|
|
"partitions": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"type": { "enum": ["none", "msdos", "gpt"] }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["backing"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|