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