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>
This commit is contained in:
parent
d34bda716a
commit
5db15096d0
@ -5,6 +5,9 @@
|
||||
# QAPI common definitions
|
||||
{ 'include': 'qapi/common.json' }
|
||||
|
||||
# QAPI block definitions
|
||||
{ 'include': 'qapi/block.json' }
|
||||
|
||||
##
|
||||
# LostTickPolicy:
|
||||
#
|
||||
|
6
qapi/block-core.json
Normal file
6
qapi/block-core.json
Normal file
@ -0,0 +1,6 @@
|
||||
# -*- Mode: Python -*-
|
||||
#
|
||||
# QAPI block core definitions (vm unrelated)
|
||||
|
||||
# QAPI common definitions
|
||||
{ 'include': 'common.json' }
|
7
qapi/block.json
Normal file
7
qapi/block.json
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- Mode: Python -*-
|
||||
#
|
||||
# QAPI block definitions (vm related)
|
||||
|
||||
# QAPI block core definitions
|
||||
{ 'include': 'block-core.json' }
|
||||
|
Loading…
Reference in New Issue
Block a user