* [Virtio-fs] Compiling virtio-fs/qemu on Mac
@ 2021-04-09 0:36 Anthony J Rabbito
2021-04-09 13:41 ` Vivek Goyal
0 siblings, 1 reply; 3+ messages in thread
From: Anthony J Rabbito @ 2021-04-09 0:36 UTC (permalink / raw)
To: virtio-fs
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
Hi All,
I'm having some trouble getting virt9p built with Qemu on Darwin. Given
that virtio-fs is progressing nicely i'm wondering if anyone has had any
success building for Darwin?
Looking to build a podman machine with shared directories.
Thanks,
Anthony Rabbito
[-- Attachment #2: Type: text/html, Size: 381 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Virtio-fs] Compiling virtio-fs/qemu on Mac
2021-04-09 0:36 [Virtio-fs] Compiling virtio-fs/qemu on Mac Anthony J Rabbito
@ 2021-04-09 13:41 ` Vivek Goyal
2021-04-12 6:02 ` Sergio Lopez
0 siblings, 1 reply; 3+ messages in thread
From: Vivek Goyal @ 2021-04-09 13:41 UTC (permalink / raw)
To: Anthony J Rabbito; +Cc: virtio-fs
On Thu, Apr 08, 2021 at 08:36:37PM -0400, Anthony J Rabbito wrote:
> Hi All,
> I'm having some trouble getting virt9p built with Qemu on Darwin. Given
> that virtio-fs is progressing nicely i'm wondering if anyone has had any
> success building for Darwin?
> Looking to build a podman machine with shared directories.
> Thanks,
Hi Anthony,
I have never tried building qemu/virtiofsd for Darwin.
My understanding is that virtiofsd is supposed to be running on Linux.
It has code which makes assumption about linux specific behavior. So
I doubt it will work correctly on Darwin even if you managed to
compile it.
Vivek
> Anthony Rabbito
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs@redhat.com
> https://listman.redhat.com/mailman/listinfo/virtio-fs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Virtio-fs] Compiling virtio-fs/qemu on Mac
2021-04-09 13:41 ` Vivek Goyal
@ 2021-04-12 6:02 ` Sergio Lopez
0 siblings, 0 replies; 3+ messages in thread
From: Sergio Lopez @ 2021-04-12 6:02 UTC (permalink / raw)
To: Vivek Goyal; +Cc: virtio-fs, Anthony J Rabbito
[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]
On Fri, Apr 09, 2021 at 09:41:58AM -0400, Vivek Goyal wrote:
> On Thu, Apr 08, 2021 at 08:36:37PM -0400, Anthony J Rabbito wrote:
> > Hi All,
> > I'm having some trouble getting virt9p built with Qemu on Darwin. Given
> > that virtio-fs is progressing nicely i'm wondering if anyone has had any
> > success building for Darwin?
> > Looking to build a podman machine with shared directories.
> > Thanks,
>
> Hi Anthony,
>
> I have never tried building qemu/virtiofsd for Darwin.
>
> My understanding is that virtiofsd is supposed to be running on Linux.
> It has code which makes assumption about linux specific behavior. So
> I doubt it will work correctly on Darwin even if you managed to
> compile it.
Yes, this is the case. For the macOS port of libkrun, which integrates
a virtio-fs server, I had to rewrite a significant part of the
passthrough implementation [1]. And even with all the workarounds
there, the semantics aren't 100% compatible, just good enough for the
common use cases.
Sergio.
[1] https://github.com/containers/libkrun/blob/main/src/devices/src/virtio/fs/macos/passthrough.rs
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-12 6:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 0:36 [Virtio-fs] Compiling virtio-fs/qemu on Mac Anthony J Rabbito
2021-04-09 13:41 ` Vivek Goyal
2021-04-12 6:02 ` Sergio Lopez
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.