@samitouri / QOSamiQemu / commits / 529a88b5bd

target/i386/mshv: move msr code to arch

The MSR code is x86 specific, hence it's better suited in the arch tree. Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com> Link: https://lore.kernel.org/r/20260417105618.3621-18-magnuskulke@linux.microsoft.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Magnus Kulke committed Apr 17, 2026 at 12:56 UTC 529a88b5bd386696c761241d55320b6bb5635011
3 files changed +1 -1
accel/mshv/meson.build
-1
@@ -1,6 +1,5 @@
1 system_ss.add(when: 'CONFIG_MSHV', if_true: files(
2 'irq.c',
3 'mem.c',
4 - 'msr.c',
4 'mshv-all.c'
5 ))
target/i386/mshv/meson.build
+1
@@ -2,6 +2,7 @@ i386_mshv_ss = ss.source_set()
2
3 i386_mshv_ss.add(files(
4 'mshv-cpu.c',
5 + 'msr.c',
6 ))
7
8 i386_system_ss.add_all(when: 'CONFIG_MSHV', if_true: i386_mshv_ss)
target/i386/mshv/msr.c renamed