Blame qemu-kvm.sh

96a5f8
#!/bin/sh
96a5f8
c3911a
# Libvirt introspects the binary using -M none. In that case, don't try
c3911a
# to init KVM, which will fail and be noisy if the host has kvm disabled
c3911a
opts="-machine accel=kvm"
c3911a
if echo "$@" | grep -q " -M none "; then
c3911a
    opts=
c3911a
fi
c3911a
c3911a
exec /usr/bin/qemu-system-x86_64 $opts "$@"