qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Problem with sharing a folder between guest and host


From: Alex
Subject: Re: [Qemu-discuss] Problem with sharing a folder between guest and host
Date: Sat, 2 Apr 2016 18:31:34 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

I didn't say you have to - I said it's better :), because -nic is obsolete and can stop working in any new version of Qemu. Anyway, these options work for me: -device e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files,restrict=on,smb=/path/to/dir/,smbserver=10.0.2.4

If your windows installed NIC drivers correctly (check it - I'm not sure about XP), you'll be able to access host files at \\10.0.2.4\qemu\

There's plenty of info in qemu's man page - check it out.

/--Regards, Alex/

On 02/04/16 18:09, Mahmood Naderan wrote:
Hi,
I want to be sure that windows guest will be installed correctly. So, I
used the following option while trying to install Windows XP from an ISO
file

-fda /home/mahmood/qemu-vm/virtio-win-0.1.102_amd64.vfd

With that I expect to install virtio, so that I can later use
-net user,smb=/home/mahmood -net nic,model=virtio



P.S: You said that -net is obsolete and I have to use -device and
-netdev. Can you explain what is the equivalent of the previous command
in the new version? I searched but actually I am not quite sure about that.

Regards,
Mahmood








reply via email to

[Prev in Thread] Current Thread [Next in Thread]