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-x86.sh \
44 tests/test-aws-xen-x86.sh \
45 tests/test-baremetal.sh \
47 tests/test-docker.sh \
48 tests/test-esx4.1.sh \
49 tests/test-hyperv.sh \
51 tests/test-kvm-explicit-cpu.sh \
52 tests/test-linux-vserver.sh \
55 tests/test-lkvm-arm.sh \
58 tests/test-parallels-desktop.sh \
59 tests/test-ppc64-baremetal.sh \
60 tests/test-ppc64-kvm.sh \
61 tests/test-ppc64-lpar-dedicated.sh \
62 tests/test-ppc64-lpar-shared.sh \
64 tests/test-qemu-arm.sh \
65 tests/test-qemu-smbios.sh \
66 tests/test-qemu-smbios-kvm.sh \
67 tests/test-rhel5-xen-dom0.sh \
68 tests/test-rhel5-xen-domU-hvm.sh \
69 tests/test-rhel5-xen-domU-hvm-ia64.sh \
70 tests/test-rhel5-xen-domU-pv.sh \
73 tests/test-xen-arm.sh \
79 tests/aws-baremetal-x86/proc/cpuinfo \
80 tests/aws-baremetal-x86/proc/self/status \
81 tests/aws-baremetal-x86/sbin/dmidecode \
82 tests/aws-baremetal-x86/sbin/uname \
83 tests/aws-baremetal-x86/sbin/virt-what-cpuid-helper \
84 tests/aws-kvm-x86/proc/cpuinfo \
85 tests/aws-kvm-x86/proc/self/status \
86 tests/aws-kvm-x86/sbin/dmidecode \
87 tests/aws-kvm-x86/sbin/uname \
88 tests/aws-kvm-x86/sbin/virt-what-cpuid-helper \
89 tests/aws-xen-x86/proc/cpuinfo \
90 tests/aws-xen-x86/proc/self/status \
91 tests/aws-xen-x86/sbin/dmidecode \
92 tests/aws-xen-x86/sbin/uname \
93 tests/aws-xen-x86/sbin/virt-what-cpuid-helper \
94 tests/baremetal/proc/cpuinfo \
95 tests/baremetal/proc/self/status \
96 tests/baremetal/sbin/dmidecode \
97 tests/baremetal/sbin/uname \
98 tests/baremetal/sbin/virt-what-cpuid-helper \
99 tests/bhyve/proc/cpuinfo \
100 tests/bhyve/sbin/dmidecode \
101 tests/bhyve/sbin/uname \
102 tests/bhyve/sbin/virt-what-cpuid-helper \
103 tests/docker/.dockerinit \
104 tests/docker/proc/cpuinfo \
105 tests/docker/proc/self/status \
106 tests/docker/sbin/dmidecode \
107 tests/docker/sbin/uname \
108 tests/docker/sbin/virt-what-cpuid-helper \
109 tests/esx4.1/proc/cpuinfo \
110 tests/esx4.1/proc/self/status \
111 tests/esx4.1/sbin/dmidecode \
112 tests/esx4.1/sbin/uname \
113 tests/esx4.1/sbin/virt-what-cpuid-helper \
114 tests/hyperv/proc/cpuinfo \
115 tests/hyperv/proc/self/status \
116 tests/hyperv/sbin/dmidecode \
117 tests/hyperv/sbin/uname \
118 tests/hyperv/sbin/virt-what-cpuid-helper \
119 tests/kvm/proc/cpuinfo \
120 tests/kvm/proc/self/status \
121 tests/kvm/sbin/dmidecode \
122 tests/kvm/sbin/uname \
123 tests/kvm/sbin/virt-what-cpuid-helper \
124 tests/kvm-explicit-cpu/proc/cpuinfo \
125 tests/kvm-explicit-cpu/proc/self/status \
126 tests/kvm-explicit-cpu/sbin/dmidecode \
127 tests/kvm-explicit-cpu/sbin/uname \
128 tests/kvm-explicit-cpu/sbin/virt-what-cpuid-helper \
129 tests/ldoms/dev/mdesc \
130 tests/ldoms/proc/cpuinfo \
131 tests/ldoms/sbin/uname \
132 tests/ldoms/sbin/virt-what-cpuid-helper \
133 tests/linux-vserver/proc/cpuinfo \
134 tests/linux-vserver/proc/self/status \
135 tests/linux-vserver/sbin/dmidecode \
136 tests/linux-vserver/sbin/uname \
137 tests/linux-vserver/sbin/virt-what-cpuid-helper \
138 tests/lkvm/proc/cpuinfo \
139 tests/lkvm/proc/self/status \
140 tests/lkvm/sbin/dmidecode \
141 tests/lkvm/sbin/uname \
142 tests/lkvm/sbin/virt-what-cpuid-helper \
143 tests/lkvm-arm/proc/cpuinfo \
144 tests/lkvm-arm/proc/device-tree/compatible \
145 tests/lkvm-arm/proc/self/status \
146 tests/lkvm-arm/sbin/dmidecode \
147 tests/lkvm-arm/sbin/uname \
148 tests/lkvm-arm/sbin/virt-what-cpuid-helper \
149 tests/lxc/proc/1/environ \
150 tests/lxc/proc/cpuinfo \
151 tests/lxc/proc/self/status \
152 tests/lxc/sbin/dmidecode \
153 tests/lxc/sbin/uname \
154 tests/lxc/sbin/virt-what-cpuid-helper \
155 tests/lx86/proc/cpuinfo \
156 tests/lx86/proc/self/status \
157 tests/lx86/sbin/dmidecode \
158 tests/lx86/sbin/uname \
159 tests/lx86/sbin/virt-what-cpuid-helper \
160 tests/parallels-desktop/proc/cpuinfo \
161 tests/parallels-desktop/proc/self/status \
162 tests/parallels-desktop/sbin/dmidecode \
163 tests/parallels-desktop/sbin/uname \
164 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
165 tests/ppc64-baremetal/proc/cpuinfo \
166 tests/ppc64-baremetal/sbin/dmidecode \
167 tests/ppc64-baremetal/sbin/uname \
168 tests/ppc64-baremetal/sbin/virt-what-cpuid-helper \
169 tests/ppc64-kvm/proc/cpuinfo \
170 tests/ppc64-kvm/proc/self/status \
171 tests/ppc64-kvm/sbin/dmidecode \
172 tests/ppc64-kvm/sbin/uname \
173 tests/ppc64-kvm/sbin/virt-what-cpuid-helper \
174 tests/ppc64-lpar-dedicated/proc/cpuinfo \
175 tests/ppc64-lpar-dedicated/proc/ppc64/lparcfg \
176 tests/ppc64-lpar-dedicated/sbin/dmidecode \
177 tests/ppc64-lpar-dedicated/sbin/uname \
178 tests/ppc64-lpar-dedicated/sbin/virt-what-cpuid-helper \
179 tests/ppc64-lpar-shared/sbin/dmidecode \
180 tests/ppc64-lpar-shared/sbin/uname \
181 tests/ppc64-lpar-shared/sbin/virt-what-cpuid-helper \
182 tests/ppc64-lpar-shared/proc/cpuinfo \
183 tests/ppc64-lpar-shared/proc/self/status \
184 tests/ppc64-lpar-shared/proc/ppc64/lparcfg \
185 tests/ppc64-lpar-shared/sbin/dmidecode \
186 tests/ppc64-lpar-shared/sbin/uname \
187 tests/ppc64-lpar-shared/sbin/virt-what-cpuid-helper \
188 tests/qemu/proc/cpuinfo \
189 tests/qemu/proc/self/status \
190 tests/qemu/sbin/dmidecode \
191 tests/qemu/sbin/uname \
192 tests/qemu/sbin/virt-what-cpuid-helper \
193 tests/qemu-arm/proc/cpuinfo \
194 tests/qemu-arm/proc/device-tree/fw-cfg@9020000/compatible \
195 tests/qemu-arm/proc/self/status \
196 tests/qemu-arm/sbin/dmidecode \
197 tests/qemu-arm/sbin/uname \
198 tests/qemu-arm/sbin/virt-what-cpuid-helper \
199 tests/qemu-smbios/proc/cpuinfo \
200 tests/qemu-smbios/proc/self/status \
201 tests/qemu-smbios/sbin/dmidecode \
202 tests/qemu-smbios/sbin/uname \
203 tests/qemu-smbios/sbin/virt-what-cpuid-helper \
204 tests/qemu-smbios-kvm/proc/cpuinfo \
205 tests/qemu-smbios-kvm/proc/self/status \
206 tests/qemu-smbios-kvm/sbin/dmidecode \
207 tests/qemu-smbios-kvm/sbin/uname \
208 tests/qemu-smbios-kvm/sbin/virt-what-cpuid-helper \
209 tests/rhel5-xen-dom0/proc/cpuinfo \
210 tests/rhel5-xen-dom0/proc/self/status \
211 tests/rhel5-xen-dom0/proc/xen/balloon \
212 tests/rhel5-xen-dom0/proc/xen/capabilities \
213 tests/rhel5-xen-dom0/proc/xen/privcmd \
214 tests/rhel5-xen-dom0/proc/xen/xenbus \
215 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
216 tests/rhel5-xen-dom0/proc/xen/xsd_port \
217 tests/rhel5-xen-dom0/sbin/dmidecode \
218 tests/rhel5-xen-dom0/sbin/uname \
219 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
220 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
221 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
222 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
223 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
224 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
225 tests/rhel5-xen-dom0/sys/hypervisor/type \
226 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
227 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
228 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
229 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
230 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
231 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
232 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
233 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
234 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
235 tests/rhel5-xen-domU-hvm/proc/self/status \
236 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
237 tests/rhel5-xen-domU-hvm/sbin/uname \
238 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
239 tests/rhel5-xen-domU-hvm-ia64/proc/cpuinfo \
240 tests/rhel5-xen-domU-hvm-ia64/proc/self/status \
241 tests/rhel5-xen-domU-hvm-ia64/sbin/dmidecode \
242 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
243 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
244 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
245 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
246 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
247 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
248 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
249 tests/rhel5-xen-domU-pv/proc/cpuinfo \
250 tests/rhel5-xen-domU-pv/proc/self/status \
251 tests/rhel5-xen-domU-pv/proc/xen/balloon \
252 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
253 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
254 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
255 tests/rhel5-xen-domU-pv/sbin/dmidecode \
256 tests/rhel5-xen-domU-pv/sbin/uname \
257 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
258 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
259 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
260 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
261 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
262 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
263 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
264 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
265 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
266 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
267 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
268 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
269 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
270 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
271 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
272 tests/rhev/proc/cpuinfo \
273 tests/rhev/proc/self/status \
274 tests/rhev/sbin/dmidecode \
275 tests/rhev/sbin/uname \
276 tests/rhev/sbin/virt-what-cpuid-helper \
277 tests/vmm/proc/cpuinfo \
278 tests/vmm/sbin/dmidecode \
279 tests/vmm/sbin/uname \
280 tests/vmm/sbin/virt-what-cpuid-helper \
281 tests/xen-arm/proc/cpuinfo \
282 tests/xen-arm/proc/device-tree/hypervisor/compatible \
283 tests/xen-arm/proc/self/status \
284 tests/xen-arm/sbin/dmidecode \
285 tests/xen-arm/sbin/uname \
286 tests/xen-arm/sbin/virt-what-cpuid-helper \
287 tests/zvm/proc/cpuinfo \
288 tests/zvm/proc/self/status \
289 tests/zvm/proc/sysinfo \
290 tests/zvm/sbin/dmidecode \
291 tests/zvm/sbin/uname \
292 tests/zvm/sbin/virt-what-cpuid-helper \