You are not logged in.
Pages: 1
is there any way to copy information (files) from the qemu emulation env to the linux host?
Offline
You can use samba.
smb.conf:
[qemu]
comment = Temporary file space
path = /tmp
read only = no
public = yes
start qemu:
qemu ... -user-net -smb qemu
The ip-address of your host will be 10.0.2.2.
Offline
thanks.
seems i'll have todo something ive been trying to avoid for too long - dancing samba...
Offline
Does this really work? I thought the current version of qemu depends on an older version of samba (2.x?) and Arch provides only a newer, not compatible version (3.x?). Did you succeed to run samba+qemu+windows?
By the way, I set up a qemu wiki some time ago: http://wiki2.archlinux.org/index.php/qemu .
Feel free to improve it.
Offline
It does really work -- at least for me. I'm using a qemu snapshot from 2004-12-27 at the moment. Guest OS is Windows 98 SE. Samba-3.0.10-1.
Doesn't it work for you?
Offline
It does really work -- at least for me. I'm using a qemu snapshot from 2004-12-27 at the moment. Guest OS is Windows 98 SE. Samba-3.0.10-1.
Doesn't it work for you?
No, when I tried to set it up about a month ago, it didn't work. I searched with google and found probably this thread: http://lists.gnu.org/archive/html/qemu- … 00051.html . As you can see, there are some problems with SAMBA and qemu. Did you run qemu as root?
Right now I don't have a need to run qemu, so I can't verify if the situation has changed. Could you update the wiki with information how to setup windows with qemu+samba?
Offline
im trying todo from the qemu image :
mount -t smbfs -o username=root //10.0.2.2/qemu /mnt/tmp
but i always get
mount: wrong fs type, bad option, bad superblock on //10.0.2.2/qemu, or too many mounted file systems
i didnt know if i need to, but on my host OS i started the samba daemon manually (/etc/rc.d/samba start) and made sure its working (ps aux | grep mbd).
any ideas?
[EDIT]
ps.
the emulated os can ping 10.0.2.2
Offline
Can you mount the share on your host OS? Just to verify your samba configuration is working.
mount -t smbfs -o username=root //localhost/qemu /mnt/tmp
@vicious: I'll update the the wiki as soon as I have some free time.
Offline
yep, i verified it works flawlessly on localhost. maybe its the issue vicious was referring to.
Offline
What version of qemu are you running? Just now I compiled the current snapshot of qemu (2005-01-31-23) and verified that samba is working with Win98 and Xfld as guest OSes. Maybe you should use a newer version?
Offline
i been using latest snapshot (qemu-snapshot2005013023-1.pkg.tar.gz)
Offline
Can you send me a copy of your pkg, z4ziggy?
Offline
There's a qemu package in the community repo. Did you tried it? There's also a thread about it in the announcement section. This is an old thread so z4ziggy might not have the package anymore and it might not even work with the current kernel.
Offline
Pages: 1