Use qemu-kvm in tests instead of qemu-system
Related: rhbz#1698366
This commit is contained in:
parent
a728011196
commit
2136d88cd6
@ -41,10 +41,6 @@ if ! rpm -q git; then
|
|||||||
yum install -y git
|
yum install -y git
|
||||||
fi
|
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.
|
# Grow root partition to make room for images. This only works on Fedora right now.
|
||||||
parted --script /dev/vda resizepart 2 100%
|
parted --script /dev/vda resizepart 2 100%
|
||||||
partprobe
|
partprobe
|
||||||
|
@ -13,7 +13,7 @@ set -e
|
|||||||
. $(dirname $0)/lib/lib.sh
|
. $(dirname $0)/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
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"
|
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
|
@ -13,7 +13,7 @@ set -e
|
|||||||
. $(dirname $0)/lib/lib.sh
|
. $(dirname $0)/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
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"
|
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
|
Loading…
Reference in New Issue
Block a user