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