mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
Add and wire up qigvm_x86_get_mem_map_entry function which converts the e820 table into an igvm memory map parameter. This makes igvm files for the native (non-confidential) platform with memory map parameter work. Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Luigi Leonardi <leonardi@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-ID: <20251029105555.2492276-4-kraxel@redhat.com>
46 lines
1.1 KiB
Meson
46 lines
1.1 KiB
Meson
i386_ss = ss.source_set()
|
|
i386_ss.add(files(
|
|
'cpu.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'xsave_helper.c',
|
|
'cpu-dump.c',
|
|
))
|
|
i386_ss.add(when: 'CONFIG_SEV', if_true: files('host-cpu.c', 'confidential-guest.c'))
|
|
|
|
# x86 cpu type
|
|
i386_ss.add(when: 'CONFIG_KVM', if_true: files('host-cpu.c'))
|
|
i386_ss.add(when: 'CONFIG_HVF', if_true: files('host-cpu.c'))
|
|
i386_ss.add(when: 'CONFIG_WHPX', if_true: files('host-cpu.c'))
|
|
i386_ss.add(when: 'CONFIG_NVMM', if_true: files('host-cpu.c'))
|
|
i386_ss.add(when: 'CONFIG_MSHV', if_true: files('host-cpu.c'))
|
|
|
|
i386_system_ss = ss.source_set()
|
|
i386_system_ss.add(files(
|
|
'arch_dump.c',
|
|
'arch_memory_mapping.c',
|
|
'machine.c',
|
|
'monitor.c',
|
|
'cpu-apic.c',
|
|
'cpu-system.c',
|
|
))
|
|
i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'),
|
|
if_false: files('sev-system-stub.c'))
|
|
if igvm.found()
|
|
i386_system_ss.add(files('igvm.c'))
|
|
endif
|
|
|
|
i386_user_ss = ss.source_set()
|
|
|
|
subdir('kvm')
|
|
subdir('whpx')
|
|
subdir('nvmm')
|
|
subdir('hvf')
|
|
subdir('tcg')
|
|
subdir('emulate')
|
|
subdir('mshv')
|
|
|
|
target_arch += {'i386': i386_ss}
|
|
target_system_arch += {'i386': i386_system_ss}
|
|
target_user_arch += {'i386': i386_user_ss}
|