qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: marcandre.lureau@redhat.com,
	Claudio Fontana <claudio.fontana@huawei.com>,
	qemu-devel@nongnu.org, Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] Is ivshmem's use of qemu_chr_open_eventfd() kosher?
Date: Tue, 24 Nov 2015 13:43:44 +0100	[thread overview]
Message-ID: <56545B80.20905@redhat.com> (raw)
In-Reply-To: <8737vv60sn.fsf_-_@blackfin.pond.sub.org>



On 24/11/2015 13:26, Markus Armbruster wrote:
> Device models (a.k.a. frontends) are normally not supposed to create
> backends by themselves, because it blurs the separation between frontend
> and backend, and commonly denies the user the opportunity to fully
> configure the backend.

Right, but here the fd comes from the ivshmem server.  It's just using
the chardev API internally.  It could be changed with little effort to
use a GSource or qemu_set_fd_handler.

Paolo

  reply	other threads:[~2015-11-24 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20 17:56 [Qemu-devel] Is ivshmem's test for unix domain client socket valid? Markus Armbruster
2015-11-23 14:25 ` Paolo Bonzini
2015-11-24 12:26   ` [Qemu-devel] Is ivshmem's use of qemu_chr_open_eventfd() kosher? (was: Is ivshmem's test for unix domain client socket valid?) Markus Armbruster
2015-11-24 12:43     ` Paolo Bonzini [this message]
2015-11-24 13:15       ` [Qemu-devel] Is ivshmem's use of qemu_chr_open_eventfd() kosher? Markus Armbruster

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=56545B80.20905@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=armbru@redhat.com \
    --cc=claudio.fontana@huawei.com \
    --cc=lcapitulino@redhat.com \
    --cc=marcandre.lureau@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).