qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] How transfer files to Qemu in linux


From: jb-gnumlists
Subject: Re: [Qemu-discuss] How transfer files to Qemu in linux
Date: Mon, 06 Aug 2012 03:36:31 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 06-08-2012 03:10, atpyouth atpyouth wrote:
Hi All,

I am new to the QEMU emulator,Kindly help me how to transfer files from linux to the qemu or viceversa.

Simple: Treat the virtual machine as if it was a real machine and
transfer files to and from it.

More to the point, the following are the most common methods:

A) If the virtual machine runs Windows, OS/2 or Linux, create a Samba
network share on the Linux host (or anywhere else), put files on it,
and access the share over the network from the virtual machine. Some
qemu versions include options to automate this.

B) On the Linux host create a disk image of a floppy or CD with the
desired files, then use qemu commands to virtually insert the disk
image file in the virtual floppy or CD drive.  Again there are tools
to automate this.

C) Run a file transfer tool such as rsync, ssh, ftp etc. on the virtual
machine and the Linux host and use it to transfer files.

D) With the virtual machine not running, loop mount its virtual hard
drive on the Linux host, and copy files to and from it.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




reply via email to

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