summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 84ece4d7e4..09c507dc7a 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -232,13 +232,13 @@ fi
232 232
233if [ -z "$MACHINE" ]; then 233if [ -z "$MACHINE" ]; then
234 if [ "x$FSTYPE" = "xvmdk" ]; then 234 if [ "x$FSTYPE" = "xvmdk" ]; then
235 MACHINE=`basename $VM | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'` 235 MACHINE=`basename $VM | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'`
236 if [ -z "$MACHINE" ]; then 236 if [ -z "$MACHINE" ]; then
237 error "Unable to set MACHINE from vmdk filename [$VM]" 237 error "Unable to set MACHINE from vmdk filename [$VM]"
238 fi 238 fi
239 echo "Set MACHINE to [$MACHINE] based on vmdk [$VM]" 239 echo "Set MACHINE to [$MACHINE] based on vmdk [$VM]"
240 else 240 else
241 MACHINE=`basename $KERNEL | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'` 241 MACHINE=`basename $KERNEL | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'`
242 if [ -z "$MACHINE" ]; then 242 if [ -z "$MACHINE" ]; then
243 error "Unable to set MACHINE from kernel filename [$KERNEL]" 243 error "Unable to set MACHINE from kernel filename [$KERNEL]"
244 fi 244 fi