summaryrefslogtreecommitdiffstats
path: root/distribution/virt/import/iskvm
blob: 284d97b57739a5da32d5391cafe8e92285da4a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# a stupid script to determine is we're running on kvm or not
# returns zero if it's, non-zero if it's not
#

if lsmod | grep -q kvm; then 
	exit 0
else 
	exit 1
fi