All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominique Martinet <asmadeus@codewreck.org>
To: skvarlamatus@gmail.com
Cc: ericvh@kernel.org, lucho@ionkov.net, linux_oss@crudebyte.com,
	v9fs@lists.linux.dev, linux-kernel@vger.kernel.org,
	stefanha@redhat.com, sgarzare@redhat.com
Subject: Re: [PATCH v3] net/9p: add vsock transport
Date: Tue, 15 Sep 2026 08:44:11 +0900	[thread overview]
Message-ID: <aqiGy_7S_cYs_6or@codewreck.org> (raw)
In-Reply-To: <20260914175156.75298-1-skvarlamatus@gmail.com>

skvarlamatus@gmail.com wrote on Mon, Sep 14, 2026 at 07:51:56PM +0200:
>> Do you have/use an hypervisor that cannot do virito 9p (or virtfs) but
>> has vsock or something like that?
> 
> virtio-9p is only supported by Qemu/KVM. Vsock transport works on any hypervisor
> with vsock support and allows using userspace 9P servers.
> The motivation behind this patch is primarily driven by podman machine's
> use-case, which is file sharing on Windows [1] [2].
> The hypervisor there is Hyper-V/WSL, which supports vsock for host-guest
> data transfers [3], but not virtio-9p or virtfs. Having vsock transport in the
> driver would simplify the codebase and make the use-case more flexible.

Okay, thank you for the explanation -- I'll add a blurb to the commit
message with your links for reference.

> > On a similar topic, do you have an actual server that works with vsock?
> 
> Podman implements its own 9P server in Go using the p9 library [4] with
> vsock support via virtsock [5], but it runs as part of podman machine.
> For standalone 9p servers, I only know of diod and example implementations
> of various 9p server libraries (i.e. [6]), but none of them support vsock.

Right, diod has an open issue[1] for vsock but since there were no
obvious client available either it was never done.
I don't think it's difficult to do (probably more work to add the option
parsing than the actual vsock support), but for now I was able to verify
this works with diod + socat as described in the issue, so this can come
later if/when there is interest for other hypervisors.

[1] https://github.com/chaos/diod/issues/148
-- 
Dominique Martinet | Asmadeus

  reply	other threads:[~2026-09-14 23:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 16:17 [PATCH v3] net/9p: add vsock transport skvarlamatus
2026-09-13 14:09 ` Dominique Martinet
2026-09-14 17:51   ` skvarlamatus
2026-09-14 23:44     ` Dominique Martinet [this message]
2026-09-16 19:42       ` skvarlamatus
2026-09-22  8:26         ` Dominique Martinet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aqiGy_7S_cYs_6or@codewreck.org \
    --to=asmadeus@codewreck.org \
    --cc=ericvh@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux_oss@crudebyte.com \
    --cc=lucho@ionkov.net \
    --cc=sgarzare@redhat.com \
    --cc=skvarlamatus@gmail.com \
    --cc=stefanha@redhat.com \
    --cc=v9fs@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.