To start the QEMU emulator from within Eclipse, follow these steps:
Expose and select "External Tools Configurations ..." from the "Run -> External Tools" menu.
Locate and select your image in the navigation
panel to the left
(e.g. qemu_i586-poky-linux
).
Click "Run" to launch QEMU.
rpcbind
utility
running to be able to make RPC calls on a
server on that machine.
If QEMU does not invoke and you receive error
messages involving
rpcbind
, follow the
suggestions to get the service running.
As an example, on a new Ubuntu 16.04 LTS
installation, you must do the following in a new
shell in order to get QEMU to launch:
$ sudo apt-get install rpcbindAfter installing
rpcbind
,
you need to edit the
/etc/init.d/rpcbind
file
to include the following line:
OPTIONS="-i -w"After modifying the file, you need to start the service:
$ sudo service portmap restart
If needed, enter your host root password in
the shell window at the prompt.
This sets up a Tap 0
connection needed for running in user-space NFS
mode.
Wait for QEMU to launch.
Once QEMU launches, you can begin operating
within that environment.
One useful task at this point would be to determine
the IP Address for the user-space NFS by using the
ifconfig
command.
The IP address of the QEMU machine appears in the
xterm window.
You can use this address to help you see which
particular
IP address the instance of QEMU is using.