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