]> git.proxmox.com Git - mirror_qemu.git/blob - hw/xen/meson.build
afd20754a143d3f446298d375db1b8e9d68c23c5
[mirror_qemu.git] / hw / xen / meson.build
1 softmmu_ss.add(when: ['CONFIG_XEN_BUS'], if_true: files(
2 'xen-backend.c',
3 'xen-bus-helper.c',
4 'xen-bus.c',
5 'xen-legacy-backend.c',
6 'xen_devconfig.c',
7 'xen_pvdev.c',
8 ))
9
10 softmmu_ss.add(when: ['CONFIG_XEN', xen], if_true: files(
11 'xen-operations.c',
12 ))
13
14 xen_specific_ss = ss.source_set()
15 if have_xen_pci_passthrough
16 xen_specific_ss.add(files(
17 'xen-host-pci-device.c',
18 'xen_pt.c',
19 'xen_pt_config_init.c',
20 'xen_pt_graphics.c',
21 'xen_pt_load_rom.c',
22 'xen_pt_msi.c',
23 ))
24 else
25 xen_specific_ss.add(files('xen_pt_stub.c'))
26 endif
27
28 specific_ss.add_all(when: ['CONFIG_XEN', xen], if_true: xen_specific_ss)
29
30 xen_ss = ss.source_set()
31
32 xen_ss.add(when: 'CONFIG_XEN', if_true: files(
33 'xen-mapcache.c',
34 'xen-hvm-common.c',
35 ))