From: "Marc-André Lureau" <marcandre.lureau@gmail.com>
To: Lukas Straub <lukasstraub2@web.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Thomas Huth <thuth@redhat.com>,
Alex Bennee <alex.bennee@linaro.org>,
qemu-devel <qemu-devel@nongnu.org>,
Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH 2/2] yank: Always link full yank code
Date: Fri, 26 Mar 2021 00:30:49 +0400 [thread overview]
Message-ID: <CAJ+F1C+CkyJMMwzvou8YYCAv6jAEKGXqaG+oXfrBJmEyFkiRdQ@mail.gmail.com> (raw)
In-Reply-To: <997aa12a28c555d8a3b7a363b3bda5c3cf1821ba.1616521341.git.lukasstraub2@web.de>
[-- Attachment #1: Type: text/plain, Size: 2831 bytes --]
On Tue, Mar 23, 2021 at 9:57 PM Lukas Straub <lukasstraub2@web.de> wrote:
> 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>
---
> MAINTAINERS | 1 -
> stubs/meson.build | 1 -
> stubs/yank.c | 23 -----------------------
> util/meson.build | 2 +-
> 4 files changed, 1 insertion(+), 26 deletions(-)
> delete mode 100644 stubs/yank.c
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 455775c4a3..77259c031d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2820,7 +2820,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
> diff --git a/stubs/meson.build b/stubs/meson.build
> index 8a3e804cf0..be6f6d609e 100644
> --- a/stubs/meson.build
> +++ b/stubs/meson.build
> @@ -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
> diff --git a/stubs/yank.c b/stubs/yank.c
> deleted file mode 100644
> index 11b24fc057..0000000000
> --- a/stubs/yank.c
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -#include "qemu/osdep.h"
> -#include "qemu/yank.h"
> -
> -bool yank_register_instance(const YankInstance *instance, Error **errp)
> -{
> - return true;
> -}
> -
> -void yank_unregister_instance(const YankInstance *instance)
> -{
> -}
> -
> -void yank_register_function(const YankInstance *instance,
> - YankFn *func,
> - void *opaque)
> -{
> -}
> -
> -void yank_unregister_function(const YankInstance *instance,
> - YankFn *func,
> - void *opaque)
> -{
> -}
> diff --git a/util/meson.build b/util/meson.build
> index 984fba965f..510765cde4 100644
> --- a/util/meson.build
> +++ b/util/meson.build
> @@ -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'))
> @@ -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
>
> --
> 2.30.2
>
--
Marc-André Lureau
[-- Attachment #2: Type: text/html, Size: 4001 bytes --]
next prev parent reply other threads:[~2021-03-25 20:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 17:52 [PATCH 0/2] yank: Always link full yank code Lukas Straub
2021-03-23 17:52 ` [PATCH 1/2] yank: Remove dependency on qiochannel Lukas Straub
2021-03-23 18:03 ` Thomas Huth
2021-03-25 20:29 ` Marc-André Lureau
2021-03-23 17:52 ` [PATCH 2/2] yank: Always link full yank code Lukas Straub
2021-03-23 18:04 ` Thomas Huth
2021-03-25 20:30 ` Marc-André Lureau [this message]
2021-03-23 19:09 ` [PATCH 0/2] " Daniel P. Berrangé
2021-03-24 11:22 ` Lukas Straub
2021-03-24 11:36 ` Daniel P. Berrangé
2021-03-24 12:09 ` Lukas Straub
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ+F1C+CkyJMMwzvou8YYCAv6jAEKGXqaG+oXfrBJmEyFkiRdQ@mail.gmail.com \
--to=marcandre.lureau@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=lukasstraub2@web.de \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).