qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gaurav Sharma <gauravs.2010@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Queries on dataplane mechanism
Date: Thu, 23 Jun 2016 20:56:34 +0530	[thread overview]
Message-ID: <CABiB5K7u96CVnaPzS4V2dRQoMFVOCSgL1r6Li+0zFV2fBdoc7A@mail.gmail.com> (raw)

Hi,
I am trying to explore how the data plane mechanism works in QEMU. I
understand the behavior of QEMU big lock. Can someone clarify the following
w.r.t. to data plane :

1. Currently only virtio-blk-pci and virtio-scsi-pci have data plane
enabled ?

2. From qemu 2.1.0 data plane is enabled by default. I specify the
following options in the command line to enable :
-enable-kvm -drive if=none,id=drive1,file=file_name -object
iothread,id=iothread2 -device
virtio-blk-pci,id=drv0,drive=drive1,iothread=iothread2
Is the above syntax correct ?

3. What is the best possible scenario to test data plane ? Currently, I
have a test set up wherein i have two different devices [dev1 and dev2]. If
i process a write to dev1 which i made blocking by putting a sleep
statement, will i be able to process write on dev2 ? My understanding is
that as in case of dataplane we have a different event loop, i should be
able to process write on dev2. Is this correct ?

I am using qemu 2.2.0 on CentOS 7.1 with kvm version 1.5.3 and using Debian
3.2.8 as guest OS.

Regards.

             reply	other threads:[~2016-06-23 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 15:26 Gaurav Sharma [this message]
2016-06-24 10:15 ` [Qemu-devel] Queries on dataplane mechanism Stefan Hajnoczi
2016-06-28  9:06   ` Gaurav Sharma
2016-07-15 14:17     ` 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=CABiB5K7u96CVnaPzS4V2dRQoMFVOCSgL1r6Li+0zFV2fBdoc7A@mail.gmail.com \
    --to=gauravs.2010@gmail.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).