Use qemu-kvm in tests instead of qemu-system

Related: rhbz#1698366
This commit is contained in:
Alexander Todorov 2019-08-01 14:31:21 +03:00 committed by Alexander Todorov
parent a728011196
commit 2136d88cd6
3 changed files with 2 additions and 6 deletions

View File

@ -41,10 +41,6 @@ if ! rpm -q git; then
yum install -y git
fi
if ! rpm -q qemu-system-x86; then
yum install -y qemu-system-x86
fi
# Grow root partition to make room for images. This only works on Fedora right now.
parted --script /dev/vda resizepart 2 100%
partprobe

View File

@ -13,7 +13,7 @@ set -e
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU_BIN="/usr/bin/qemu-system-$(uname -m)"
QEMU_BIN="/usr/libexec/qemu-kvm"
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
rlJournalStart

View File

@ -13,7 +13,7 @@ set -e
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU_BIN="/usr/bin/qemu-system-$(uname -m)"
QEMU_BIN="/usr/libexec/qemu-kvm"
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
rlJournalStart