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 \
43 tests/test-docker.sh \
44 tests/test-esx4.1.sh \
45 tests/test-hyperv.sh \
47 tests/test-kvm-explicit-cpu.sh \
48 tests/test-linux-vserver.sh \
50 tests/test-lkvm-arm.sh \
53 tests/test-parallels-desktop.sh \
55 tests/test-qemu-arm.sh \
56 tests/test-qemu-smbios.sh \
57 tests/test-qemu-smbios-kvm.sh \
58 tests/test-rhel5-xen-dom0.sh \
59 tests/test-rhel5-xen-domU-hvm.sh \
60 tests/test-rhel5-xen-domU-hvm-ia64.sh \
61 tests/test-rhel5-xen-domU-pv.sh \
62 tests/test-xen-arm.sh \
68 tests/baremetal/proc/cpuinfo \
69 tests/baremetal/proc/self/status \
70 tests/baremetal/sbin/dmidecode \
71 tests/baremetal/sbin/uname \
72 tests/baremetal/sbin/virt-what-cpuid-helper \
73 tests/docker/.dockerinit \
74 tests/docker/proc/cpuinfo \
75 tests/docker/proc/self/status \
76 tests/docker/sbin/dmidecode \
77 tests/docker/sbin/uname \
78 tests/docker/sbin/virt-what-cpuid-helper \
79 tests/esx4.1/proc/cpuinfo \
80 tests/esx4.1/proc/self/status \
81 tests/esx4.1/sbin/dmidecode \
82 tests/esx4.1/sbin/uname \
83 tests/esx4.1/sbin/virt-what-cpuid-helper \
84 tests/hyperv/proc/cpuinfo \
85 tests/hyperv/proc/self/status \
86 tests/hyperv/sbin/dmidecode \
87 tests/hyperv/sbin/uname \
88 tests/hyperv/sbin/virt-what-cpuid-helper \
89 tests/kvm/proc/cpuinfo \
90 tests/kvm/proc/self/status \
91 tests/kvm/sbin/dmidecode \
92 tests/kvm/sbin/uname \
93 tests/kvm/sbin/virt-what-cpuid-helper \
94 tests/kvm-explicit-cpu/proc/cpuinfo \
95 tests/kvm-explicit-cpu/proc/self/status \
96 tests/kvm-explicit-cpu/sbin/dmidecode \
97 tests/kvm-explicit-cpu/sbin/uname \
98 tests/kvm-explicit-cpu/sbin/virt-what-cpuid-helper \
99 tests/linux-vserver/proc/cpuinfo \
100 tests/linux-vserver/proc/self/status \
101 tests/linux-vserver/sbin/dmidecode \
102 tests/linux-vserver/sbin/uname \
103 tests/linux-vserver/sbin/virt-what-cpuid-helper \
104 tests/lkvm/proc/cpuinfo \
105 tests/lkvm/proc/self/status \
106 tests/lkvm/sbin/dmidecode \
107 tests/lkvm/sbin/uname \
108 tests/lkvm/sbin/virt-what-cpuid-helper \
109 tests/lkvm-arm/proc/cpuinfo \
110 tests/lkvm-arm/proc/device-tree/compatible \
111 tests/lkvm-arm/proc/self/status \
112 tests/lkvm-arm/sbin/dmidecode \
113 tests/lkvm-arm/sbin/uname \
114 tests/lkvm-arm/sbin/virt-what-cpuid-helper \
115 tests/lxc/proc/1/environ \
116 tests/lxc/proc/cpuinfo \
117 tests/lxc/proc/self/status \
118 tests/lxc/sbin/dmidecode \
119 tests/lxc/sbin/uname \
120 tests/lxc/sbin/virt-what-cpuid-helper \
121 tests/lx86/proc/cpuinfo \
122 tests/lx86/proc/self/status \
123 tests/lx86/sbin/dmidecode \
124 tests/lx86/sbin/uname \
125 tests/lx86/sbin/virt-what-cpuid-helper \
126 tests/parallels-desktop/proc/cpuinfo \
127 tests/parallels-desktop/proc/self/status \
128 tests/parallels-desktop/sbin/dmidecode \
129 tests/parallels-desktop/sbin/uname \
130 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
131 tests/qemu/proc/cpuinfo \
132 tests/qemu/proc/self/status \
133 tests/qemu/sbin/dmidecode \
134 tests/qemu/sbin/uname \
135 tests/qemu/sbin/virt-what-cpuid-helper \
136 tests/qemu-arm/proc/cpuinfo \
137 tests/qemu-arm/proc/device-tree/fw-cfg@9020000/compatible \
138 tests/qemu-arm/proc/self/status \
139 tests/qemu-arm/sbin/dmidecode \
140 tests/qemu-arm/sbin/uname \
141 tests/qemu-arm/sbin/virt-what-cpuid-helper \
142 tests/qemu-smbios/proc/cpuinfo \
143 tests/qemu-smbios/proc/self/status \
144 tests/qemu-smbios/sbin/dmidecode \
145 tests/qemu-smbios/sbin/uname \
146 tests/qemu-smbios/sbin/virt-what-cpuid-helper \
147 tests/qemu-smbios-kvm/proc/cpuinfo \
148 tests/qemu-smbios-kvm/proc/self/status \
149 tests/qemu-smbios-kvm/sbin/dmidecode \
150 tests/qemu-smbios-kvm/sbin/uname \
151 tests/qemu-smbios-kvm/sbin/virt-what-cpuid-helper \
152 tests/rhel5-xen-dom0/proc/cpuinfo \
153 tests/rhel5-xen-dom0/proc/self/status \
154 tests/rhel5-xen-dom0/proc/xen/balloon \
155 tests/rhel5-xen-dom0/proc/xen/capabilities \
156 tests/rhel5-xen-dom0/proc/xen/privcmd \
157 tests/rhel5-xen-dom0/proc/xen/xenbus \
158 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
159 tests/rhel5-xen-dom0/proc/xen/xsd_port \
160 tests/rhel5-xen-dom0/sbin/dmidecode \
161 tests/rhel5-xen-dom0/sbin/uname \
162 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
163 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
164 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
165 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
166 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
167 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
168 tests/rhel5-xen-dom0/sys/hypervisor/type \
169 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
170 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
171 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
172 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
173 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
174 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
175 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
176 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
177 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
178 tests/rhel5-xen-domU-hvm/proc/self/status \
179 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
180 tests/rhel5-xen-domU-hvm/sbin/uname \
181 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
182 tests/rhel5-xen-domU-hvm-ia64/proc/cpuinfo \
183 tests/rhel5-xen-domU-hvm-ia64/proc/self/status \
184 tests/rhel5-xen-domU-hvm-ia64/sbin/dmidecode \
185 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
186 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
187 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
188 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
189 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
190 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
191 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
192 tests/rhel5-xen-domU-pv/proc/cpuinfo \
193 tests/rhel5-xen-domU-pv/proc/self/status \
194 tests/rhel5-xen-domU-pv/proc/xen/balloon \
195 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
196 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
197 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
198 tests/rhel5-xen-domU-pv/sbin/dmidecode \
199 tests/rhel5-xen-domU-pv/sbin/uname \
200 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
201 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
202 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
203 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
204 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
205 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
206 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
207 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
208 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
209 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
210 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
211 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
212 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
213 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
214 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
215 tests/xen-arm/proc/cpuinfo \
216 tests/xen-arm/proc/device-tree/hypervisor/compatible \
217 tests/xen-arm/proc/self/status \
218 tests/xen-arm/sbin/dmidecode \
219 tests/xen-arm/sbin/uname \
220 tests/xen-arm/sbin/virt-what-cpuid-helper \
221 tests/zvm/proc/cpuinfo \
222 tests/zvm/proc/self/status \
223 tests/zvm/proc/sysinfo \
224 tests/zvm/sbin/dmidecode \
225 tests/zvm/sbin/uname \
226 tests/zvm/sbin/virt-what-cpuid-helper \