qapi: Extract PCI commands to 'pci.json'
commit61c7f9876a7e053d984f9b8ad369ce53e54fad7c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 13 Sep 2020 19:53:48 +0000 (13 21:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Sep 2020 13:41:36 +0000 (29 15:41 +0200)
tree89f3474f73ad402dbf04de4ce3d0f70104bbd82b
parent27c9188fa0d325e1e9778d627daf9a44813cce47
qapi: Extract PCI commands to 'pci.json'

Only qemu-system-FOO and qemu-storage-daemon provide QMP
monitors, therefore such declarations and definitions are
irrelevant for user-mode emulation.

Extracting the PCI commands to their own schema reduces the size of
the qapi-misc* headers generated, and pulls less QAPI-generated code
into user-mode.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200913195348.1064154-9-philmd@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
MAINTAINERS
hw/pci/pci-stub.c
hw/pci/pci.c
monitor/hmp-cmds.c
qapi/meson.build
qapi/misc.json
qapi/pci.json [new file with mode: 0644]
qapi/qapi-schema.json