* File system passthrough using v9fs?
@ 2012-08-01 14:01 Jesper Dahl Nyerup
2012-08-03 10:49 ` Stefano Stabellini
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Dahl Nyerup @ 2012-08-01 14:01 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 925 bytes --]
Hi,
I need to deploy a bunch of VMs, that need data from NFS shares residing
on a network I don't trust my VMs to connect to directly.
What would it take for me to mount the shares on the hosts, and export
them to my VMs using v9fs, for instance?
In practice, only one of my VMs will access a portion of the NFS at a
time, and the host won't touch it at all, so I'm pretty confident that
the VMs' VFS caching and locking won't be an issue.
I understand that KVM can do v9fs exports using virtio and qemu[1], and
I was wondering if this was possible with Xen as well, as Xen also makes
use of qemu. Allegedly using virtio devices should theoretically be
possible for HVM guests, but I'm not sure if this has been implemented
in Xen's qemu.
I don't have a preference for v9fs at all, so any hints or insights to
similar solutions will be greatly appreciated.
Yours,
Jesper.
[1]: http://www.linux-kvm.org/page/9p_virtio
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: File system passthrough using v9fs?
2012-08-01 14:01 File system passthrough using v9fs? Jesper Dahl Nyerup
@ 2012-08-03 10:49 ` Stefano Stabellini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Stabellini @ 2012-08-03 10:49 UTC (permalink / raw)
To: Jesper Dahl Nyerup; +Cc: xen-devel@lists.xen.org
On Wed, 1 Aug 2012, Jesper Dahl Nyerup wrote:
> Hi,
>
> I need to deploy a bunch of VMs, that need data from NFS shares residing
> on a network I don't trust my VMs to connect to directly.
>
> What would it take for me to mount the shares on the hosts, and export
> them to my VMs using v9fs, for instance?
There is a chance that v9fs is going to work, but it is a completely
untested configuration. You need to use upstream QEMU, configure it with
the right options to enable v9fs. Once you have done that, you probably
also need to pass a particular command line option to QEMU in order to
enable v9fs, but unfortunately xl doesn't know about it.
However you can add any command line parameters you like to QEMU, adding
a "device_model_args" config parameter to your VM.
> In practice, only one of my VMs will access a portion of the NFS at a
> time, and the host won't touch it at all, so I'm pretty confident that
> the VMs' VFS caching and locking won't be an issue.
>
> I understand that KVM can do v9fs exports using virtio and qemu[1], and
> I was wondering if this was possible with Xen as well, as Xen also makes
> use of qemu. Allegedly using virtio devices should theoretically be
> possible for HVM guests, but I'm not sure if this has been implemented
> in Xen's qemu.
>
> I don't have a preference for v9fs at all, so any hints or insights to
> similar solutions will be greatly appreciated.
Wouldn't it be easier to create a special vlan that lets your VM connect
just to that NFS share rather than the entire secure network?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-03 10:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 14:01 File system passthrough using v9fs? Jesper Dahl Nyerup
2012-08-03 10:49 ` Stefano Stabellini
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).