diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-12 10:47:07 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-03-12 10:47:07 +0000 |
commit | 613c12ec28573b10cae0cd91139ba69b964f347c (patch) | |
tree | b66907dde9f7aa0bf57503fea2be092b43d26e56 /qapi-schema.json | |
parent | be813ef02d18ba58e1ff32f1706bcacb88f1f764 (diff) | |
parent | 2a7a1a56d1e30de07cf7d7636a35bf7706b9500e (diff) | |
download | qemu-613c12ec28573b10cae0cd91139ba69b964f347c.zip qemu-613c12ec28573b10cae0cd91139ba69b964f347c.tar.gz qemu-613c12ec28573b10cae0cd91139ba69b964f347c.tar.bz2 |
Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging
* remotes/qmp-unstable/queue/qmp:
tests: test-qmp-commands: Fix double free
qapi script: do not add "_" for every capitalized char in enum
qapi script: do not allow string discriminator
qapi: convert BlockdevOptions to use enum discriminator
qapi script: support enum type as discriminator in union
qapi script: use same function to generate enum string
qapi script: code move for generate_enum_name()
qapi script: check correctness of union
qapi script: remember line number in schema parsing
qapi script: add check for duplicated key
qapi script: remember explicitly defined enum values
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 6c381b7..f4f9439 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -4249,6 +4249,18 @@ '*no-flush': 'bool' } } ## +# @BlockdevDriver +# +# Drivers that are supported in block device operations. +# +# Since: 2.0 +## +{ 'enum': 'BlockdevDriver', + 'data': [ 'file', 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug', + 'blkverify', 'bochs', 'cloop', 'cow', 'dmg', 'parallels', 'qcow', + 'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum' ] } + +## # @BlockdevOptionsBase # # Options that are available for all block devices, independent of the block @@ -4272,7 +4284,7 @@ # Since: 1.7 ## { 'type': 'BlockdevOptionsBase', - 'data': { 'driver': 'str', + 'data': { 'driver': 'BlockdevDriver', '*id': 'str', '*node-name': 'str', '*discard': 'BlockdevDiscardOptions', |