testing: Replace kvm with qemu-system-x86_64

It might not exist on all platforms and according to the man page:

  The kvm wrapper script is used to provide compatibility with old
  qemu-kvm package which has been merged into qemu as of version 1.3.

  The script executes
    qemu-system-x86_64 -enable-kvm
  passing all other command-line arguments to the qemu binary.

Closes strongswan/strongswan#385.
This commit is contained in:
Noel Kuntze
2021-05-10 11:14:00 +02:00
committed by Tobias Brunner
parent 1eb2d149db
commit cf6a164108
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ echo "Starting test environment"
[ `id -u` -eq 0 ] || die "You must be root to run $0"
running_any $STRONGSWANHOSTS && die "Please stop test environment before running $0"
check_commands kvm virsh
check_commands virsh qemu-system-x86_64
[ -f $KNLSRC ] || die "Kernel $KNLSRC not found"
log_action "Deploying kernel $KERNEL"