From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Anthony Liguori <aliguori@linux.vnet.ibm.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Planning for 0.13
Date: Wed, 06 Jan 2010 20:59:37 +0100 [thread overview]
Message-ID: <4B44EBA9.6090908@redhat.com> (raw)
In-Reply-To: <20100106195431.GH4001@redhat.com>
>>> We have ones that require read/write, ones that require send/recv, and
>>> ones that require vhost interaction. Really, the first two are the same
>>> but the distinction is necessary for Windows.
>>
>> Not necessarily, you can open sockets on Windows so that they support
>> read/write. Just create it with
>>
>> fh = WSASocket (domain, type, protocol, NULL, 0, 0);
>>
>> instead of socket. Since Windows already has enough problems passing
>> file descriptors to processes, imposing the above on an external
>> management interface is not a huge chore.
>>
>> Paolo
>
> For linux read/write often isn't a good idea :)
Yeah, only for "normal" raw sockets.
> E.g. for packet sockets you really need to use sendmsg and set msg_name
> with the proper protocol. You also must use recvmsg and set MSG_TRUNC
> otherwise packets can get truncatred silently.
The situation for packet sockets is more similar to vnet headers no
(just learning all this stuff)? They require code in qemu anyway, so
the helper would do only the set up/tear down.
Paolo
next prev parent reply other threads:[~2010-01-06 19:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 12:43 [Qemu-devel] Planning for 0.13 Anthony Liguori
2010-01-05 12:44 ` [Qemu-devel] " Anthony Liguori
2010-01-05 20:50 ` [Qemu-devel] " Stefan Weil
2010-01-05 21:33 ` [Qemu-devel] " Michael S. Tsirkin
2010-01-06 0:32 ` Anthony Liguori
2010-01-06 10:49 ` Michael S. Tsirkin
2010-01-06 12:36 ` Anthony Liguori
2010-01-06 13:20 ` Michael S. Tsirkin
2010-01-06 13:34 ` Anthony Liguori
2010-01-06 13:55 ` Michael S. Tsirkin
2010-01-06 15:10 ` Anthony Liguori
2010-01-06 15:16 ` Michael S. Tsirkin
2010-01-06 15:24 ` Anthony Liguori
2010-01-06 15:41 ` Michael S. Tsirkin
2010-01-06 17:19 ` Jamie Lokier
2010-01-06 18:19 ` Michael S. Tsirkin
2010-01-06 22:49 ` Jamie Lokier
2010-01-06 23:59 ` Michael S. Tsirkin
2010-01-06 19:48 ` Paolo Bonzini
2010-01-06 19:54 ` Michael S. Tsirkin
2010-01-06 19:59 ` Paolo Bonzini [this message]
2010-01-06 20:07 ` Michael S. Tsirkin
2010-01-06 23:00 ` Jamie Lokier
2010-01-07 0:05 ` Michael S. Tsirkin
2010-01-05 22:31 ` [Qemu-devel] " Aurelien Jarno
2010-01-06 2:46 ` Roy Tam
2010-01-06 9:37 ` Gerd Hoffmann
2010-01-06 15:34 ` Adam Litke
2010-01-12 13:43 ` Pasi Kärkkäinen
2010-01-12 15:07 ` Stefano Stabellini
2010-02-09 14:50 ` Artyom Tarasenko
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=4B44EBA9.6090908@redhat.com \
--to=pbonzini@redhat.com \
--cc=aliguori@linux.vnet.ibm.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 NNTP newsgroup(s).