1 # Makefile for virt-what
2 # Copyright (C) 2008-2011 Red Hat Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 CLEANFILES = virt-what
22 sbin_SCRIPTS = virt-what
23 libexec_PROGRAMS = virt-what-cpuid-helper
25 libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
30 CLEANFILES += virt-what.1 virt-what.txt
31 man_MANS = virt-what.1
33 virt-what.1: virt-what.pod
34 pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
36 virt-what.txt: virt-what.pod
42 tests/test-aws-baremetal-x86.sh \
43 tests/test-aws-kvm-arm.sh \
44 tests/test-aws-kvm-x86.sh \
45 tests/test-aws-xen-x86.sh \
46 tests/test-baremetal.sh \
48 tests/test-docker.sh \
49 tests/test-esx4.1.sh \
50 tests/test-hyperv.sh \
52 tests/test-kvm-explicit-cpu.sh \
53 tests/test-linux-vserver.sh \
56 tests/test-lkvm-arm.sh \
59 tests/test-parallels-desktop.sh \
60 tests/test-ppc64-baremetal.sh \
61 tests/test-ppc64-kvm.sh \
62 tests/test-ppc64-lpar-dedicated.sh \
63 tests/test-ppc64-lpar-shared.sh \
65 tests/test-qemu-arm.sh \
66 tests/test-qemu-smbios.sh \
67 tests/test-qemu-smbios-kvm.sh \
68 tests/test-rhel5-xen-dom0.sh \
69 tests/test-rhel5-xen-domU-hvm.sh \
70 tests/test-rhel5-xen-domU-hvm-ia64.sh \
71 tests/test-rhel5-xen-domU-pv.sh \
74 tests/test-xen-arm.sh \
80 tests/aws-baremetal-x86/proc/cpuinfo \
81 tests/aws-baremetal-x86/proc/self/status \
82 tests/aws-baremetal-x86/sbin/dmidecode \
83 tests/aws-baremetal-x86/sbin/uname \
84 tests/aws-baremetal-x86/sbin/virt-what-cpuid-helper \
85 tests/aws-kvm-x86/proc/cpuinfo \
86 tests/aws-kvm-x86/proc/self/status \
87 tests/aws-kvm-x86/sbin/dmidecode \
88 tests/aws-kvm-x86/sbin/uname \
89 tests/aws-kvm-x86/sbin/virt-what-cpuid-helper \
90 tests/aws-xen-x86/proc/cpuinfo \
91 tests/aws-xen-x86/proc/self/status \
92 tests/aws-xen-x86/sbin/dmidecode \
93 tests/aws-xen-x86/sbin/uname \
94 tests/aws-xen-x86/sbin/virt-what-cpuid-helper \
95 tests/baremetal/proc/cpuinfo \
96 tests/baremetal/proc/self/status \
97 tests/baremetal/sbin/dmidecode \
98 tests/baremetal/sbin/uname \
99 tests/baremetal/sbin/virt-what-cpuid-helper \
100 tests/bhyve/proc/cpuinfo \
101 tests/bhyve/sbin/dmidecode \
102 tests/bhyve/sbin/uname \
103 tests/bhyve/sbin/virt-what-cpuid-helper \
104 tests/docker/.dockerinit \
105 tests/docker/proc/cpuinfo \
106 tests/docker/proc/self/status \
107 tests/docker/sbin/dmidecode \
108 tests/docker/sbin/uname \
109 tests/docker/sbin/virt-what-cpuid-helper \
110 tests/esx4.1/proc/cpuinfo \
111 tests/esx4.1/proc/self/status \
112 tests/esx4.1/sbin/dmidecode \
113 tests/esx4.1/sbin/uname \
114 tests/esx4.1/sbin/virt-what-cpuid-helper \
115 tests/hyperv/proc/cpuinfo \
116 tests/hyperv/proc/self/status \
117 tests/hyperv/sbin/dmidecode \
118 tests/hyperv/sbin/uname \
119 tests/hyperv/sbin/virt-what-cpuid-helper \
120 tests/kvm/proc/cpuinfo \
121 tests/kvm/proc/self/status \
122 tests/kvm/sbin/dmidecode \
123 tests/kvm/sbin/uname \
124 tests/kvm/sbin/virt-what-cpuid-helper \
125 tests/kvm-explicit-cpu/proc/cpuinfo \
126 tests/kvm-explicit-cpu/proc/self/status \
127 tests/kvm-explicit-cpu/sbin/dmidecode \
128 tests/kvm-explicit-cpu/sbin/uname \
129 tests/kvm-explicit-cpu/sbin/virt-what-cpuid-helper \
130 tests/ldoms/dev/mdesc \
131 tests/ldoms/proc/cpuinfo \
132 tests/ldoms/sbin/uname \
133 tests/ldoms/sbin/virt-what-cpuid-helper \
134 tests/linux-vserver/proc/cpuinfo \
135 tests/linux-vserver/proc/self/status \
136 tests/linux-vserver/sbin/dmidecode \
137 tests/linux-vserver/sbin/uname \
138 tests/linux-vserver/sbin/virt-what-cpuid-helper \
139 tests/lkvm/proc/cpuinfo \
140 tests/lkvm/proc/self/status \
141 tests/lkvm/sbin/dmidecode \
142 tests/lkvm/sbin/uname \
143 tests/lkvm/sbin/virt-what-cpuid-helper \
144 tests/lkvm-arm/proc/cpuinfo \
145 tests/lkvm-arm/proc/device-tree/compatible \
146 tests/lkvm-arm/proc/self/status \
147 tests/lkvm-arm/sbin/dmidecode \
148 tests/lkvm-arm/sbin/uname \
149 tests/lkvm-arm/sbin/virt-what-cpuid-helper \
150 tests/lxc/proc/1/environ \
151 tests/lxc/proc/cpuinfo \
152 tests/lxc/proc/self/status \
153 tests/lxc/sbin/dmidecode \
154 tests/lxc/sbin/uname \
155 tests/lxc/sbin/virt-what-cpuid-helper \
156 tests/lx86/proc/cpuinfo \
157 tests/lx86/proc/self/status \
158 tests/lx86/sbin/dmidecode \
159 tests/lx86/sbin/uname \
160 tests/lx86/sbin/virt-what-cpuid-helper \
161 tests/parallels-desktop/proc/cpuinfo \
162 tests/parallels-desktop/proc/self/status \
163 tests/parallels-desktop/sbin/dmidecode \
164 tests/parallels-desktop/sbin/uname \
165 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
166 tests/ppc64-baremetal/proc/cpuinfo \
167 tests/ppc64-baremetal/sbin/dmidecode \
168 tests/ppc64-baremetal/sbin/uname \
169 tests/ppc64-baremetal/sbin/virt-what-cpuid-helper \
170 tests/ppc64-kvm/proc/cpuinfo \
171 tests/ppc64-kvm/proc/self/status \
172 tests/ppc64-kvm/sbin/dmidecode \
173 tests/ppc64-kvm/sbin/uname \
174 tests/ppc64-kvm/sbin/virt-what-cpuid-helper \
175 tests/ppc64-lpar-dedicated/proc/cpuinfo \
176 tests/ppc64-lpar-dedicated/proc/ppc64/lparcfg \
177 tests/ppc64-lpar-dedicated/sbin/dmidecode \
178 tests/ppc64-lpar-dedicated/sbin/uname \
179 tests/ppc64-lpar-dedicated/sbin/virt-what-cpuid-helper \
180 tests/ppc64-lpar-shared/sbin/dmidecode \
181 tests/ppc64-lpar-shared/sbin/uname \
182 tests/ppc64-lpar-shared/sbin/virt-what-cpuid-helper \
183 tests/ppc64-lpar-shared/proc/cpuinfo \
184 tests/ppc64-lpar-shared/proc/self/status \
185 tests/ppc64-lpar-shared/proc/ppc64/lparcfg \
186 tests/ppc64-lpar-shared/sbin/dmidecode \
187 tests/ppc64-lpar-shared/sbin/uname \
188 tests/ppc64-lpar-shared/sbin/virt-what-cpuid-helper \
189 tests/qemu/proc/cpuinfo \
190 tests/qemu/proc/self/status \
191 tests/qemu/sbin/dmidecode \
192 tests/qemu/sbin/uname \
193 tests/qemu/sbin/virt-what-cpuid-helper \
194 tests/qemu-arm/proc/cpuinfo \
195 tests/qemu-arm/proc/device-tree/fw-cfg@9020000/compatible \
196 tests/qemu-arm/proc/self/status \
197 tests/qemu-arm/sbin/dmidecode \
198 tests/qemu-arm/sbin/uname \
199 tests/qemu-arm/sbin/virt-what-cpuid-helper \
200 tests/qemu-smbios/proc/cpuinfo \
201 tests/qemu-smbios/proc/self/status \
202 tests/qemu-smbios/sbin/dmidecode \
203 tests/qemu-smbios/sbin/uname \
204 tests/qemu-smbios/sbin/virt-what-cpuid-helper \
205 tests/qemu-smbios-kvm/proc/cpuinfo \
206 tests/qemu-smbios-kvm/proc/self/status \
207 tests/qemu-smbios-kvm/sbin/dmidecode \
208 tests/qemu-smbios-kvm/sbin/uname \
209 tests/qemu-smbios-kvm/sbin/virt-what-cpuid-helper \
210 tests/rhel5-xen-dom0/proc/cpuinfo \
211 tests/rhel5-xen-dom0/proc/self/status \
212 tests/rhel5-xen-dom0/proc/xen/balloon \
213 tests/rhel5-xen-dom0/proc/xen/capabilities \
214 tests/rhel5-xen-dom0/proc/xen/privcmd \
215 tests/rhel5-xen-dom0/proc/xen/xenbus \
216 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
217 tests/rhel5-xen-dom0/proc/xen/xsd_port \
218 tests/rhel5-xen-dom0/sbin/dmidecode \
219 tests/rhel5-xen-dom0/sbin/uname \
220 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
221 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
222 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
223 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
224 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
225 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
226 tests/rhel5-xen-dom0/sys/hypervisor/type \
227 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
228 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
229 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
230 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
231 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
232 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
233 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
234 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
235 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
236 tests/rhel5-xen-domU-hvm/proc/self/status \
237 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
238 tests/rhel5-xen-domU-hvm/sbin/uname \
239 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
240 tests/rhel5-xen-domU-hvm-ia64/proc/cpuinfo \
241 tests/rhel5-xen-domU-hvm-ia64/proc/self/status \
242 tests/rhel5-xen-domU-hvm-ia64/sbin/dmidecode \
243 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
244 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
245 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
246 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
247 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
248 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
249 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
250 tests/rhel5-xen-domU-pv/proc/cpuinfo \
251 tests/rhel5-xen-domU-pv/proc/self/status \
252 tests/rhel5-xen-domU-pv/proc/xen/balloon \
253 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
254 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
255 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
256 tests/rhel5-xen-domU-pv/sbin/dmidecode \
257 tests/rhel5-xen-domU-pv/sbin/uname \
258 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
259 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
260 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
261 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
262 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
263 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
264 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
265 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
266 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
267 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
268 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
269 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
270 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
271 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
272 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
273 tests/rhev/proc/cpuinfo \
274 tests/rhev/proc/self/status \
275 tests/rhev/sbin/dmidecode \
276 tests/rhev/sbin/uname \
277 tests/rhev/sbin/virt-what-cpuid-helper \
278 tests/vmm/proc/cpuinfo \
279 tests/vmm/sbin/dmidecode \
280 tests/vmm/sbin/uname \
281 tests/vmm/sbin/virt-what-cpuid-helper \
282 tests/xen-arm/proc/cpuinfo \
283 tests/xen-arm/proc/device-tree/hypervisor/compatible \
284 tests/xen-arm/proc/self/status \
285 tests/xen-arm/sbin/dmidecode \
286 tests/xen-arm/sbin/uname \
287 tests/xen-arm/sbin/virt-what-cpuid-helper \
288 tests/zvm/proc/cpuinfo \
289 tests/zvm/proc/self/status \
290 tests/zvm/proc/sysinfo \
291 tests/zvm/sbin/dmidecode \
292 tests/zvm/sbin/uname \
293 tests/zvm/sbin/virt-what-cpuid-helper \