diff options
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index dcb2931cac..9272b6f2d5 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -279,10 +279,12 @@ if [ "x$KVM_ENABLED" = "xyes" ]; then | |||
| 279 | exit 1; | 279 | exit 1; |
| 280 | fi | 280 | fi |
| 281 | if [ ! -w /dev/vhost-net -o ! -r /dev/vhost-net ]; then | 281 | if [ ! -w /dev/vhost-net -o ! -r /dev/vhost-net ]; then |
| 282 | echo "You have no rights on /dev/vhost-net." | 282 | if [ "$SLIRP_ENABLED" != "yes" ] ; then |
| 283 | echo "Please change the ownership of this file as described at:" | 283 | echo "You have no rights on /dev/vhost-net." |
| 284 | echo "$YOCTO_PARAVIRT_KVM_WIKI"; | 284 | echo "Please change the ownership of this file as described at:" |
| 285 | exit 1; | 285 | echo "$YOCTO_PARAVIRT_KVM_WIKI"; |
| 286 | exit 1; | ||
| 287 | fi | ||
| 286 | fi | 288 | fi |
| 287 | fi | 289 | fi |
| 288 | 290 | ||
