All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: PERSIST <1554706732@qq.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] how to create threads like dataplane in qemu
Date: Wed, 5 Apr 2017 09:56:07 +0800	[thread overview]
Message-ID: <20170405015607.GB7267@lemon> (raw)
In-Reply-To: <tencent_626816280E6377073CCDAC4F@qq.com>

On Sat, 04/01 11:54, PERSIST wrote:
> Hello!
>   I want to create a specific thread for each process in VM so that virtio block requests from each process can be sumbitted in the thread related to the process.
>   I tried to implement it by referring to dataplane,but I can not understand the source about dataplane.

There are multiple abstraction layers between guest process and QEMU threads, I
don't think the model you describe is practical. In dataplane, requests are
submitted to host through virtio ioeventfd, and handled by the per-virtual
device thread. What are you trying to achieve here?

Fam

  reply	other threads:[~2017-04-05  1:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  3:54 [Qemu-devel] how to create threads like dataplane in qemu PERSIST
2017-04-05  1:56 ` Fam Zheng [this message]
2017-04-06 10:37 ` Stefan Hajnoczi

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=20170405015607.GB7267@lemon \
    --to=famz@redhat.com \
    --cc=1554706732@qq.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 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.