diff options
author | BenoƮt Canet | 2014-06-05 13:45:30 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2014-06-06 16:25:48 +0200 |
commit | 5db15096d047f0ec92bd5f1680343ea7acbed4e5 (patch) | |
tree | e8af29bee78274618251237cda36c0a150004b26 /qapi | |
parent | qapi: Extract qapi/common.json definitions (diff) | |
download | qemu-5db15096d047f0ec92bd5f1680343ea7acbed4e5.tar.gz qemu-5db15096d047f0ec92bd5f1680343ea7acbed4e5.tar.xz qemu-5db15096d047f0ec92bd5f1680343ea7acbed4e5.zip |
qapi: create two block related json modules
qapi/block-core.json contains block definitions unrelated to emulation.
qapi/block.json is a superset of the previous and contains definitions related
to emulation.
The purpose of these extractions is to be able to hook qapi/block-core.json
generated code on qemu-nbd.
Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 6 | ||||
-rw-r--r-- | qapi/block.json | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json new file mode 100644 index 0000000000..11bd8c2b3d --- /dev/null +++ b/qapi/block-core.json @@ -0,0 +1,6 @@ +# -*- Mode: Python -*- +# +# QAPI block core definitions (vm unrelated) + +# QAPI common definitions +{ 'include': 'common.json' } diff --git a/qapi/block.json b/qapi/block.json new file mode 100644 index 0000000000..e2b882f120 --- /dev/null +++ b/qapi/block.json @@ -0,0 +1,7 @@ +# -*- Mode: Python -*- +# +# QAPI block definitions (vm related) + +# QAPI block core definitions +{ 'include': 'block-core.json' } + |