> On 11. Mar 2026, at 16:15, Anirudh Rayabharam <anirudh@anirudhrb.com> wrote:
>
> From: Aastha Rawat <aastharawat@linux.microsoft.com>
>
> This file has x86 specific implementations. Move this file to i386
> folder in preparation for ARM64 MSHV support.
>
> Signed-off-by: Aastha Rawat <aastharawat@linux.microsoft.com>
Reviewed-by: Mohamed Mediouni <mohamed@unpredictable.fr>
>
> ---
> accel/mshv/meson.build | 1 -
> target/i386/mshv/meson.build | 1 +
> {accel => target/i386}/mshv/msr.c | 0
> 3 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/accel/mshv/meson.build b/accel/mshv/meson.build
> index c1b1787c5e..e433187cde 100644
> --- a/accel/mshv/meson.build
> +++ b/accel/mshv/meson.build
> @@ -1,6 +1,5 @@
> system_ss.add(when: 'CONFIG_MSHV', if_true: files(
> 'irq.c',
> 'mem.c',
> - 'msr.c',
> 'mshv-all.c'
> ))
> diff --git a/target/i386/mshv/meson.build b/target/i386/mshv/meson.build
> index 49f28d4a5b..6091c21887 100644
> --- a/target/i386/mshv/meson.build
> +++ b/target/i386/mshv/meson.build
> @@ -2,6 +2,7 @@ i386_mshv_ss = ss.source_set()
>
> i386_mshv_ss.add(files(
> 'mshv-cpu.c',
> + 'msr.c',
> ))
>
> i386_system_ss.add_all(when: 'CONFIG_MSHV', if_true: i386_mshv_ss)
> diff --git a/accel/mshv/msr.c b/target/i386/mshv/msr.c
> similarity index 100%
> rename from accel/mshv/msr.c
> rename to target/i386/mshv/msr.c
>
> --
> 2.43.0
>
>