The aim of this article is to setup the use of a file system from qemu by NFS.
First step : configuration of the development PC station.
This phase consists to add and configure a "bridge".
1 |
/usr/sbin/brctl addbr br0 |
We also need to define a script which will be used during qemu boot, in order to configure the network for the virtual machine.
1 |
touch qemu-ifup
|
Let's add the configuration in the script:
1 |
#!/bin/sh |
Second step : NFS server configuration
We are going to share the file system of the embedded ARM system, so it can be used during the system boot.
1 |
vi /etc/exports
|
Let's add the folder:
1 |
/opt/system-arm/root *(rw,no_subtree_check,no_root_squash) |
Update of the configuration to take into account the add-on (in root):
1 |
exportfs -a
|
Third step : qemu launch
Let say that the IP address of the development PC station is 192.168.1.3, and the virtual machine address is 192.168.1.10.
1 |
qemu-system-arm --nographic -M pc -no-reboot \ |
© Copyright 2011, Oselis.







