summaryrefslogtreecommitdiff
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorLiming Wang <liming.wang@windriver.com>2011-08-25 22:45:29 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:34:02 -0700
commit74ff1bc8c248824116ba4b787b10fa6ee0c13ce1 (patch)
tree785ca535ed90e5dd06164374a27fd15c820cbdd7 /scripts/runqemu
parentcb17b6c2a72f260c61b0ec46887c2a04ac5b3f80 (diff)
downloadopenembedded-core-74ff1bc8c248824116ba4b787b10fa6ee0c13ce1.tar.gz
openembedded-core-74ff1bc8c248824116ba4b787b10fa6ee0c13ce1.tar.bz2
openembedded-core-74ff1bc8c248824116ba4b787b10fa6ee0c13ce1.tar.xz
openembedded-core-74ff1bc8c248824116ba4b787b10fa6ee0c13ce1.zip
scripts/runqemu: disable unfs boot mode for qemuppc
Because unfs boot mode is unstable for qemuppc, disable it temporarily. Signed-off-by: Liming Wang <liming.wang@windriver.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 91c3c9e93..113088e54 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -354,6 +354,12 @@ if [ -z "$FSTYPE" ]; then
usage
fi
fi
+
+if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then
+ echo "Error: usermode NFS boot is not available for qemuppc."
+ exit 1
+fi
+
# FSTYPE is now set for all cases
# Handle cases where a ROOTFS type is given instead of a filename, e.g.