Skip to content

Commit

Permalink
yank: Always link full yank code
Browse files Browse the repository at this point in the history
Yank now only depends on util and can be always linked in. Also remove
the stubs as they are not needed anymore.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <997aa12a28c555d8a3b7a363b3bda5c3cf1821ba.1616521341.git.lukasstraub2@web.de>
  • Loading branch information
Lukey3332 authored and elmarco committed Apr 1, 2021
1 parent 1a92d6d commit e015029
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
1 change: 0 additions & 1 deletion MAINTAINERS
Expand Up @@ -2822,7 +2822,6 @@ Yank feature
M: Lukas Straub <lukasstraub2@web.de>
S: Odd fixes
F: util/yank.c
F: stubs/yank.c
F: migration/yank_functions*
F: include/qemu/yank.h
F: qapi/yank.json
Expand Down
1 change: 0 additions & 1 deletion stubs/meson.build
Expand Up @@ -46,7 +46,6 @@ stub_ss.add(files('vm-stop.c'))
stub_ss.add(files('win32-kbd-hook.c'))
stub_ss.add(files('cpu-synchronize-state.c'))
if have_block
stub_ss.add(files('yank.c'))
stub_ss.add(files('replay-tools.c'))
endif
if have_system
Expand Down
23 changes: 0 additions & 23 deletions stubs/yank.c

This file was deleted.

2 changes: 1 addition & 1 deletion util/meson.build
Expand Up @@ -43,6 +43,7 @@ util_ss.add(files('stats64.c'))
util_ss.add(files('systemd.c'))
util_ss.add(when: 'CONFIG_POSIX', if_true: files('drm.c'))
util_ss.add(files('guest-random.c'))
util_ss.add(files('yank.c'))

if have_user
util_ss.add(files('selfmap.c'))
Expand All @@ -51,7 +52,6 @@ endif
if have_system
util_ss.add(files('crc-ccitt.c'))
util_ss.add(when: 'CONFIG_GIO', if_true: [files('dbus.c'), gio])
util_ss.add(files('yank.c'))
util_ss.add(when: 'CONFIG_LINUX', if_true: files('userfaultfd.c'))
endif

Expand Down

0 comments on commit e015029

Please sign in to comment.