All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dennis Chen <dennis.chen@arm.com>
To: qemu-devel@nongnu.org
Cc: dennis.chen@arm.com, nd@arm.com
Subject: [Qemu-devel] Question about RNG virtio device
Date: Mon, 27 Nov 2017 14:58:29 +0800	[thread overview]
Message-ID: <20171127065828.GA23555@arm.com> (raw)

Hello QEMU developers,

We all know that there is a virtio-rng device can be para-virtualised from
the host to guest in case of a real RNG HW exists in the host, my question
is:
Can we get some performance gain to use the 'virtio-rng' device if there isn't
a real RNG HW in host, in this case, what's the default back-end of the virtio
-rng device?
For my scenario, I don't want to use a virtio-rng device if the host doesn't have
a RNG HW, because the guest will get a fake RNG HW with virtio-rng device (/sys/
devices/virtual/misc/hw_random/rng_current), which is not expected. But if 
virtio-rng is not used, I don't know how the guest get the entropy from the host,
the most concern is performance. IOW, what's the difference between virtio-rng used
and not if there isn't a RNG HW in host?

Thanks!

                 reply	other threads:[~2017-11-27  6:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20171127065828.GA23555@arm.com \
    --to=dennis.chen@arm.com \
    --cc=nd@arm.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.