[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/5] tests/migration: Make initrd-stress.img built by defa
|
From: |
Daniel P . Berrangé |
|
Subject: |
Re: [PATCH v1 2/5] tests/migration: Make initrd-stress.img built by default |
|
Date: |
Fri, 9 Aug 2024 09:34:13 +0100 |
|
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Fri, Aug 09, 2024 at 03:43:33PM +0800, yong.huang@smartx.com wrote:
> From: Hyman Huang <yong.huang@smartx.com>
>
> The initrd-stress.img was compiled by specifying the
> target, to make it easier for developers to play the
> guestperf tool, make it built by default.
If you're going to do this, then you will need to make sure it is only
built on a Linux host, and when glib static & sysprof are found. eg
if host_os == 'linux' && glib_static.found() && sysprof.found()
>
> Signed-off-by: Hyman Huang <yong.huang@smartx.com>
> ---
> tests/migration/meson.build | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/migration/meson.build b/tests/migration/meson.build
> index a91aa61c65..393e401800 100644
> --- a/tests/migration/meson.build
> +++ b/tests/migration/meson.build
> @@ -7,12 +7,13 @@ stress = executable(
> files('stress.c'),
> dependencies: [glib_static, sysprof],
> link_args: ['-static'],
> - build_by_default: false,
> + build_by_default: true,
> )
>
> custom_target(
> 'initrd-stress.img',
> output: 'initrd-stress.img',
> input: stress,
> - command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
> + command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@'],
> + build_by_default: true,
> )
> --
> 2.11.0
>
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v1 0/5] Guestperf: miscellaneous refinement and enrichment, yong . huang, 2024/08/09
- [PATCH v1 1/5] tests/migration: Move the guestperf tool to scripts directory, yong . huang, 2024/08/09
- [PATCH v1 2/5] tests/migration: Make initrd-stress.img built by default, yong . huang, 2024/08/09
- [PATCH v1 3/5] guestperf: Support deferred migration for multifd, yong . huang, 2024/08/09
- [PATCH v1 4/5] guestperf: Nitpick the inconsistent parameters, yong . huang, 2024/08/09
- [PATCH v1 5/5] guestperf: Introduce multifd compression option, yong . huang, 2024/08/09