Step 8SHARE DATA BETWEEN HOST AND GUEST SYSTEMS
+-------+------------------------------------------------------+------------+| Host | System where Qemu is started : the real hardware | Windows XP |+-------+------------------------------------------------------+------------+| Guest | System « running under » Qemu in the virtual machine | Fedora 8 |+-------+------------------------------------------------------+------------+To ease the access to the host machine, add this line (as root) to /etc/hosts:
10.0.2.2 qemu
Using CIFS (windows share):
In the host system, enable folder sharing (right click on the desired folder).
In the guest system, connect with smbclient (rpm package samba-client-3.0.26a-6.fc8) to be able to browse the shared directory and copy some files.
The command line in the guest Fedora 8 is:
smbclient \\10.0.2.2\T45466 U lassauge W FR
Options:
+-----------------------+-------------------------------------------------------+| smbclient | ftp-like to connect to windows share || \\10.0.2.2\T45466 | Host system is seen at IP:10.0.2.2. || | T45466 is the name given to the share in host system. || U lassauge | User lassauge (known from host system) || W FR | Workgroup of user lassauge in the host system. |+-----------------------+-------------------------------------------------------+
Now a simple get is enough to copy from the shared folder.
Afraid of command lines?
The graphical way in Fedora 8 is:
Main menu->Shortcuts->Connect to a server… Then fill the fields in the popup window.
When it's finished right-click on the new icon (The one with “SMB” which appeared on the desktop) and choose Browse. Windows password is then asked and finally you can browse the shared folder with nautilus.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|
















































