Commit fbd6a86f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added qemu-kvm for armv7l

parent b99db6ac
...@@ -47,6 +47,10 @@ arm: ...@@ -47,6 +47,10 @@ arm:
$(MAKE) -C qemu-4.1.1 install $(MAKE) -C qemu-4.1.1 install
rm -rf qemu-4.1.1 rm -rf qemu-4.1.1
if [ `uname -m` = 'armv7l' ] ; then \
install -v -m755 qemu-kvm-armv7l /usr/bin/qemu-kvm ; \
fi
swapoff swap swapoff swap
rm -rf swap rm -rf swap
......
#!/bin/sh
# Libvirt introspects the binary using -M none. In that case, don't try
# to init KVM, which will fail and be noisy if the host has kvm disabled
opts="-machine accel=kvm"
if echo "$@" | grep -q " -M none "; then
opts=
fi
exec /usr/bin/qemu-system-arm $opts "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment