All of lore.kernel.org
 help / color / mirror / Atom feed
From: Conghui Chen <conghui.chen@intel.com>
To: virtio-dev@lists.oasis-open.org
Cc: shuo.a.liu@intel.com, yu1.wang@intel.com
Subject: [virtio-dev] [RFC] Add polling mode feature bit
Date: Tue, 25 Jun 2019 23:15:35 +0800	[thread overview]
Message-ID: <20190625151535.GB25390@intel.com> (raw)

Hi,

We are working on enable VIRTIO on RTVMs. For RT requirements and some
security reasons, the VIRTIO interrupts are not allowed to inject to
guest OS, and the notify flow may bring some uncertain delay, so the
polling mode for VIRTIO device is taken into consideration. And in some
open source projects, like DPDK and OVMF, the polling mode is
implemented on device level, but if a system need all the VIRTIO devices
work on polling mode, then we should support it for each VIRTIO device
type. That will take lots of effort and may not able to upstream, such
as in RT-Linux. So, we wonder that, if we could support polling mode on
VIRTIO framework level?

We have a proposal:
Add a new feature bit: VIRTIO_F_PMD(39)
This feature indicates that the driver should work in polling mode, and
the device will not inject interrupt to Guest OS.

Regards,
Conghui.


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


             reply	other threads:[~2019-06-25  7:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 15:15 Conghui Chen [this message]
2019-06-25  7:32 ` [virtio-dev] [RFC] Add polling mode feature bit Paolo Bonzini
2019-06-25 19:17   ` Conghui Chen
2019-06-25 11:27     ` Paolo Bonzini

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=20190625151535.GB25390@intel.com \
    --to=conghui.chen@intel.com \
    --cc=shuo.a.liu@intel.com \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=yu1.wang@intel.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 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.