All loop devices on the host are in use.

vmware workstation error :
"All loop devices on the host are in use."



When trying to mount a virtual disk into the host OS (openSUSE 13.1) using VMware Workstation 10 I got the "All loop devices on the host are in use." error.
To prevent this error I did this:

Add a line containing
options loop max_loop=256
to this file
/etc/modprobe.d/vmware-fuse.conf

# cat /etc/modprobe.d/vmware-fuse.conf
# Added by VMware.

alias char-major-10-229 fuse
options loop max_loop=256

and ran this command as root:

# modprobe loop

This solved my issue.