2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('bdrv-next-monitor-owned.c'))
|
|
|
|
stub_ss.add(files('blk-commit-all.c'))
|
2020-09-29 14:55:15 +02:00
|
|
|
stub_ss.add(files('blk-exp-close-all.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('blockdev-close-all-bdrv-states.c'))
|
|
|
|
stub_ss.add(files('change-state-handler.c'))
|
|
|
|
stub_ss.add(files('cmos.c'))
|
|
|
|
stub_ss.add(files('cpu-get-clock.c'))
|
2020-07-31 12:23:42 +02:00
|
|
|
stub_ss.add(files('cpus-get-virtual-clock.c'))
|
2020-08-19 13:17:19 +02:00
|
|
|
stub_ss.add(files('qemu-timer-notify-cb.c'))
|
|
|
|
stub_ss.add(files('icount.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('dump.c'))
|
|
|
|
stub_ss.add(files('error-printf.c'))
|
|
|
|
stub_ss.add(files('fdset.c'))
|
|
|
|
stub_ss.add(files('gdbstub.c'))
|
|
|
|
stub_ss.add(files('get-vm-name.c'))
|
2022-12-07 14:18:24 +01:00
|
|
|
stub_ss.add(files('graph-lock.c'))
|
2021-07-12 17:18:10 +02:00
|
|
|
if linux_io_uring.found()
|
|
|
|
stub_ss.add(files('io_uring.c'))
|
|
|
|
endif
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('iothread-lock.c'))
|
2022-03-03 16:15:46 +01:00
|
|
|
if have_block
|
|
|
|
stub_ss.add(files('iothread-lock-block.c'))
|
|
|
|
endif
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('isa-bus.c'))
|
|
|
|
stub_ss.add(files('is-daemonized.c'))
|
2021-10-07 15:08:20 +02:00
|
|
|
if libaio.found()
|
|
|
|
stub_ss.add(files('linux-aio.c'))
|
|
|
|
endif
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('migr-blocker.c'))
|
2021-05-18 15:08:17 +02:00
|
|
|
stub_ss.add(files('module-opts.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('monitor.c'))
|
|
|
|
stub_ss.add(files('monitor-core.c'))
|
2022-10-13 20:59:06 +02:00
|
|
|
stub_ss.add(files('physmem.c'))
|
2020-09-01 20:53:03 +02:00
|
|
|
stub_ss.add(files('qemu-timer-notify-cb.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('qmp_memory_device.c'))
|
2020-10-27 09:44:18 +01:00
|
|
|
stub_ss.add(files('qmp-command-available.c'))
|
2021-10-26 12:22:24 +02:00
|
|
|
stub_ss.add(files('qmp-quit.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('qtest.c'))
|
|
|
|
stub_ss.add(files('ram-block.c'))
|
|
|
|
stub_ss.add(files('ramfb.c'))
|
|
|
|
stub_ss.add(files('replay.c'))
|
|
|
|
stub_ss.add(files('runstate-check.c'))
|
|
|
|
stub_ss.add(files('sysbus.c'))
|
|
|
|
stub_ss.add(files('target-get-monitor-def.c'))
|
|
|
|
stub_ss.add(files('target-monitor-defs.c'))
|
|
|
|
stub_ss.add(files('trace-control.c'))
|
|
|
|
stub_ss.add(files('uuid.c'))
|
2023-04-28 21:49:21 +02:00
|
|
|
stub_ss.add(files('colo.c'))
|
2023-05-15 15:06:38 +02:00
|
|
|
stub_ss.add(files('colo-compare.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('vmstate.c'))
|
|
|
|
stub_ss.add(files('vm-stop.c'))
|
|
|
|
stub_ss.add(files('win32-kbd-hook.c'))
|
2020-07-31 12:23:42 +02:00
|
|
|
stub_ss.add(files('cpu-synchronize-state.c'))
|
2022-11-10 09:36:26 +01:00
|
|
|
if have_block or have_ga
|
replay: do not build if TCG is not available
this fixes non-TCG builds broken recently by replay reverse debugging.
Stub the needed functions in stub/, splitting roughly between functions
needed only by system emulation, by system emulation and tools,
and by everyone. This includes duplicating some code in replay/, and
puts the logic for non-replay related events in the replay/ module (+
the stubs), so this should be revisited in the future.
Surprisingly, only _one_ qtest was affected by this, ide-test.c, which
resulted in a buzz as the bh events were never delivered, and the bh
never executed.
Many other subsystems _should_ have been affected.
This fixes the immediate issue, however a better way to group replay
functionality to TCG-only code could be developed in the long term.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20201013192123.22632-4-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-13 21:21:23 +02:00
|
|
|
stub_ss.add(files('replay-tools.c'))
|
|
|
|
endif
|
2020-08-19 14:44:56 +02:00
|
|
|
if have_system
|
2022-01-11 11:44:18 +01:00
|
|
|
stub_ss.add(files('fw_cfg.c'))
|
2021-12-31 11:10:27 +01:00
|
|
|
stub_ss.add(files('pci-bus.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
stub_ss.add(files('semihost.c'))
|
2021-04-25 00:41:10 +02:00
|
|
|
stub_ss.add(files('usb-dev-stub.c'))
|
2020-09-08 17:55:28 +02:00
|
|
|
stub_ss.add(files('xen-hw-stub.c'))
|
2023-07-11 17:34:40 +02:00
|
|
|
stub_ss.add(files('virtio-md-pci.c'))
|
2021-01-22 21:44:38 +01:00
|
|
|
else
|
|
|
|
stub_ss.add(files('qdev.c'))
|
2020-08-19 14:44:56 +02:00
|
|
|
endif
|
2023-03-07 18:01:20 +01:00
|
|
|
stub_ss.add(files('semihost-all.c'))
|
2022-06-13 22:26:33 +02:00
|
|
|
stub_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_false: files('vfio-user-obj.c'))
|