spec: Set the qemu-list to a suitable value for recent Fedora.
[qemu-sanity-check.git] / qemu-sanity-check.in
index be1ab64..4a13b07 100644 (file)
@@ -19,7 +19,7 @@
 
 prefix="@prefix@"
 exec_prefix="@exec_prefix@"
-initrd="@libdir@/initrd"
+initrd="@libdir@/qemu-sanity-check/initrd"
 
 arch="$(uname -m)"
 canonical_arch="$(uname -m | sed 's/i[456]86/i386/')"
@@ -113,7 +113,7 @@ fi
 
 # Locate qemu if not specified.
 if [ -z "$qemu" ]; then
-    for q in qemu-kvm qemu-system-$canonical_arch qemu kvm; do
+    for q in @QEMU_LIST@; do
         if "$q" --help >/dev/null 2>&1; then
             qemu="$q"
             break