From: Stefano Garzarella <sgarzare@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: "Roman Kiryanov" <rkir@google.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
alex.bennee@linaro.org, "QEMU Developers" <qemu-devel@nongnu.org>,
"JP Cottin" <jpcottin@google.com>,
"Erwin Jansen" <jansene@google.com>,
"Mehdi Alizadeh" <mett@google.com>
Subject: Re: Hermetic virtio-vsock in QEMU
Date: Wed, 8 May 2024 11:38:51 +0200 [thread overview]
Message-ID: <5o3xyylget6hqhdaya5cj5tnbmmpzxk6u53cp6jhpviev6ez4m@ri6ady5zc6n3> (raw)
In-Reply-To: <CAJ+F1CKvBW_khQ+zwKiunWGUQYtC_RKnVvUWbZpZALHv07efBw@mail.gmail.com>
On Wed, May 08, 2024 at 01:13:09PM GMT, Marc-André Lureau wrote:
>Hi
>
>On Wed, May 8, 2024 at 11:50 AM Stefano Garzarella <sgarzare@redhat.com> wrote:
>>
>> Hi Roman,
>>
>> On Tue, May 07, 2024 at 11:20:50PM GMT, Roman Kiryanov wrote:
>> >Hi Stefano,
>> >
>> >On Tue, May 7, 2024 at 1:10 AM Stefano Garzarella <sgarzare@redhat.com> wrote:
>> >> I have no experience with Windows, but what we need for vhost-user is:
>> >>
>> >> - AF_UNIX and be able to send file descriptors using ancillary data
>> >> (i.e. SCM_RIGHTS)
>> >
>> >As far as I understand, Windows does NOT support SCM_RIGHTS over AF_UNIX.
>>
>> Thank you for the information. This is unfortunate and does not allow
>> us to use vhost-user as it is on Windows.
>>
>
>fwiw, Windows has other mechanisms to share resources between processes.
>
>To share/pass sockets, you can use WSADuplicateSocket. For shared
>memory and other resources, DuplicateHandle API.
Cool, thanks for sharing that. So it could be done, but I think we need
to extend the vhost-user protocol to work with Windows.
Thanks,
Stefano
>
>(you can also share other things like D3D textures etc. those
>mechanisms are used to enable -display dbus on Windows efficiently)
>
>
>--
>Marc-André Lureau
>
next prev parent reply other threads:[~2024-05-08 9:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-03 21:30 Hermetic virtio-vsock in QEMU Roman Kiryanov
2024-04-15 11:20 ` Daniel P. Berrangé
2024-04-17 19:31 ` Roman Kiryanov
2024-04-18 9:34 ` Daniel P. Berrangé
2024-05-07 8:10 ` Stefano Garzarella
2024-05-08 6:20 ` Roman Kiryanov
2024-05-08 7:49 ` Stefano Garzarella
2024-05-08 9:13 ` Marc-André Lureau
2024-05-08 9:38 ` Stefano Garzarella [this message]
2024-05-08 12:37 ` Paolo Bonzini
2024-05-08 12:51 ` Daniel P. Berrangé
2024-05-08 13:00 ` Paolo Bonzini
2024-05-08 13:32 ` Daniel P. Berrangé
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=5o3xyylget6hqhdaya5cj5tnbmmpzxk6u53cp6jhpviev6ez4m@ri6ady5zc6n3 \
--to=sgarzare@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=jansene@google.com \
--cc=jpcottin@google.com \
--cc=marcandre.lureau@gmail.com \
--cc=mett@google.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rkir@google.com \
/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 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 read-only IMAP folder(s) and NNTP newsgroup(s).