]> git.proxmox.com Git - mirror_qemu.git/commit - block/qapi-sysemu.c
block: Move system emulator QMP commands to block/qapi-sysemu.c
authorKevin Wolf <kwolf@redhat.com>
Mon, 24 Feb 2020 14:29:51 +0000 (15:29 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Mar 2020 16:15:38 +0000 (17:15 +0100)
commit12c929bca2b0e01a9a89c0ef5000441ae7d7e675
tree18a0fb7dd6e4a56bfeb3df80d1778139e9ab09ac
parent5964ed56d9a138c1172db1335c65bda42c4f6260
block: Move system emulator QMP commands to block/qapi-sysemu.c

These commands make only sense for system emulators and their
implementations call functions that don't exist in tools (e.g. to
resolve qdev IDs). Move them out so that blockdev.c can be linked to
qemu-storage-daemon.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200224143008.13362-4-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/Makefile.objs
block/qapi-sysemu.c [new file with mode: 0644]
blockdev.c