* [Qemu-devel] how can i mount a folder as a qemu disk?
@ 2009-03-22 2:02 Paulo Silva
2009-03-22 9:16 ` Avi Kivity
2009-03-24 6:47 ` Rob Landley
0 siblings, 2 replies; 6+ messages in thread
From: Paulo Silva @ 2009-03-22 2:02 UTC (permalink / raw)
To: qemu-devel
Hi!
How can i mount a folder as a disk, just like what UAE and Basilisk2 does?
This is very useful for me, for transfering stuff between the root
operating-system and the emulated one, and vice-versa
cheers,
Paulo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] how can i mount a folder as a qemu disk?
2009-03-22 2:02 [Qemu-devel] how can i mount a folder as a qemu disk? Paulo Silva
@ 2009-03-22 9:16 ` Avi Kivity
2009-03-22 12:16 ` Jamie Lokier
2009-03-24 6:47 ` Rob Landley
1 sibling, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2009-03-22 9:16 UTC (permalink / raw)
To: qemu-devel
Paulo Silva wrote:
> Hi!
> How can i mount a folder as a disk, just like what UAE and Basilisk2 does?
> This is very useful for me, for transfering stuff between the root
> operating-system and the emulated one, and vice-versa
> cheers,
>
Look up the -smb option in the docs.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] how can i mount a folder as a qemu disk?
2009-03-22 9:16 ` Avi Kivity
@ 2009-03-22 12:16 ` Jamie Lokier
2009-03-22 17:43 ` Paulo Silva
0 siblings, 1 reply; 6+ messages in thread
From: Jamie Lokier @ 2009-03-22 12:16 UTC (permalink / raw)
To: qemu-devel
Avi Kivity wrote:
> Look up the -smb option in the docs.
Last time I tried it, -smb doesn't work any more because Samba can no
longer be run standalone by a normal user on current distros - it has
hard coded paths to /var/something-or-other which you can't override.
-- Jamie
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] how can i mount a folder as a qemu disk?
2009-03-22 12:16 ` Jamie Lokier
@ 2009-03-22 17:43 ` Paulo Silva
2009-03-27 9:42 ` Jan Marten Simons
0 siblings, 1 reply; 6+ messages in thread
From: Paulo Silva @ 2009-03-22 17:43 UTC (permalink / raw)
To: qemu-devel
thanking the all answers so far (and expecting for more indeed)
as far i didn't have samba installed yet (lazyness), and i confess i'm
not that skilled to configure networks...
for this, i would suggest qemu having a folder mounting as imagedisk,
just like happened on UAE and Basilisk, and making us able to emulate
operating systems not having network support, and with an easy access
to the base operating system files - and this situation like
'sometimes works and sometimes don't, because samba lack of support',
would be very annoying being so dependant to that issues...
would be interesting if, when we set in the command line, a directory
instead of a imagedisk ( like '-hdc ~/.qemu/hd/' instead of '-hdc
~/.qemu/hd50mb.img'), would be very interesting... - if UAE and
Basilisk can do that, i think Qemu could do as well - maybe getting
some code from there? (sorry not being that skilled on C coding, i
really wanted to help on it....)
thanks!
On 3/22/09, Jamie Lokier <jamie@shareable.org> wrote:
> Avi Kivity wrote:
>> Look up the -smb option in the docs.
>
> Last time I tried it, -smb doesn't work any more because Samba can no
> longer be run standalone by a normal user on current distros - it has
> hard coded paths to /var/something-or-other which you can't override.
>
> -- Jamie
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] how can i mount a folder as a qemu disk?
2009-03-22 2:02 [Qemu-devel] how can i mount a folder as a qemu disk? Paulo Silva
2009-03-22 9:16 ` Avi Kivity
@ 2009-03-24 6:47 ` Rob Landley
1 sibling, 0 replies; 6+ messages in thread
From: Rob Landley @ 2009-03-24 6:47 UTC (permalink / raw)
To: qemu-devel; +Cc: Paulo Silva
On Saturday 21 March 2009 21:02:25 Paulo Silva wrote:
> Hi!
> How can i mount a folder as a disk, just like what UAE and Basilisk2 does?
> This is very useful for me, for transfering stuff between the root
> operating-system and the emulated one, and vice-versa
> cheers,
> Paulo
Well, there's always sshfs:
http://fuse.sourceforge.net/sshfs.html
If you're stuck emulating windows and you don't mind it being A) read only, B)
horribly inefficient, you can try the virtual FAT support:
http://www.nongnu.org/qemu/qemu-doc.html#SEC25
Note that's got some serious rough edges. Specifically, if you _don't_ mount
that read only, and your kernel accidentally tries to write to it, the device
behaves badly. (My emulated linux kernel went into an endless loop due to a
dropped interrupt or some such. No idea what windows would do, I haven't got
one..)
Rob
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] how can i mount a folder as a qemu disk?
2009-03-22 17:43 ` Paulo Silva
@ 2009-03-27 9:42 ` Jan Marten Simons
0 siblings, 0 replies; 6+ messages in thread
From: Jan Marten Simons @ 2009-03-27 9:42 UTC (permalink / raw)
To: qemu-devel
Am Sonntag, 22. März 2009 18:43:51 schrieb Paulo Silva:
> thanking the all answers so far (and expecting for more indeed)
> as far i didn't have samba installed yet (lazyness), and i confess i'm
> not that skilled to configure networks...
>
> for this, i would suggest qemu having a folder mounting as imagedisk,
> just like happened on UAE and Basilisk, and making us able to emulate
> operating systems not having network support, and with an easy access
> to the base operating system files - and this situation like
> 'sometimes works and sometimes don't, because samba lack of support',
> would be very annoying being so dependant to that issues...
>
> would be interesting if, when we set in the command line, a directory
> instead of a imagedisk ( like '-hdc ~/.qemu/hd/' instead of '-hdc
> ~/.qemu/hd50mb.img'), would be very interesting... - if UAE and
> Basilisk can do that, i think Qemu could do as well - maybe getting
> some code from there? (sorry not being that skilled on C coding, i
> really wanted to help on it....)
I'm not sure about the current state of vvfat in qemu 0.10.1, but its purpose
is to create a virtual drive out of a folder of the host system. Which sounds
very much like the thing you want to do.
With regards,
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-03-27 9:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-22 2:02 [Qemu-devel] how can i mount a folder as a qemu disk? Paulo Silva
2009-03-22 9:16 ` Avi Kivity
2009-03-22 12:16 ` Jamie Lokier
2009-03-22 17:43 ` Paulo Silva
2009-03-27 9:42 ` Jan Marten Simons
2009-03-24 6:47 ` Rob Landley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).