06a47ef57c
Follow linux-aio.o and stub out the block/io_uring.o APIs that will be missing when a binary is linked with obj-util-y but without block-util-y (e.g. vhost-user-gpu). For example, the stubs are necessary so that a binary using util/async.o from obj-util-y for qemu_bh_new() links successfully. In this case block/io_uring.o from block-util-y isn't needed and we can avoid dragging in the block layer by linking the stubs instead. The stub functions never get called. Signed-off-by: Aarushi Mehta <mehta.aaru20@gmail.com> Acked-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200120141858.587874-6-stefanha@redhat.com Message-Id: <20200120141858.587874-6-stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> |
||
---|---|---|
.. | ||
bdrv-next-monitor-owned.c | ||
blk-commit-all.c | ||
blockdev-close-all-bdrv-states.c | ||
change-state-handler.c | ||
clock-warp.c | ||
cpu-get-clock.c | ||
cpu-get-icount.c | ||
dump.c | ||
error-printf.c | ||
fd-register.c | ||
fdset.c | ||
fw_cfg.c | ||
gdbstub.c | ||
get-vm-name.c | ||
io_uring.c | ||
iothread-lock.c | ||
iothread.c | ||
is-daemonized.c | ||
linux-aio.c | ||
machine-init-done.c | ||
Makefile.objs | ||
migr-blocker.c | ||
monitor.c | ||
notify-event.c | ||
pci-host-piix.c | ||
qmp_memory_device.c | ||
qtest.c | ||
ram-block.c | ||
ramfb.c | ||
replay-user.c | ||
replay.c | ||
runstate-check.c | ||
semihost.c | ||
set-fd-handler.c | ||
sysbus.c | ||
target-get-monitor-def.c | ||
target-monitor-defs.c | ||
tpm.c | ||
trace-control.c | ||
uuid.c | ||
vm-stop.c | ||
vmgenid.c | ||
vmstate.c | ||
xen-common.c | ||
xen-hvm.c |