All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: fred.konrad@greensocs.com
Cc: amit.shah@redhat.com, peter.maydell@linaro.org,
	aliguori@us.ibm.com, mark.burton@greensocs.com,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 0/8] virtio-rng refactoring.
Date: Mon, 15 Apr 2013 15:12:26 +0200	[thread overview]
Message-ID: <20130415151226.762e177f@gondolin> (raw)
In-Reply-To: <1365944470-13837-1-git-send-email-fred.konrad@greensocs.com>

On Sun, 14 Apr 2013 15:01:02 +0200
fred.konrad@greensocs.com wrote:

> From: KONRAD Frederic <fred.konrad@greensocs.com>
> 
> This is the last backend of the refactoring.
> 
> Basically it creates virtio-rng-device which extends virtio-device.
> Then a virtio-rng-device can be connected on a virtio-bus.
> virtio-rng-pci, virtio-rng-s390, virtio-rng-ccw are created too, they extend
> respectively virtio-pci, virtio-s390-device, virtio-ccw-device and have a
> virtio-rng-device.
> 
> When rng option is NULL, a default rng backend is created as before. But after
> this refactoring, this default-backend will be the child of virtio-rng-device
> instead of virtio-rng-*.
> 
> You can checkout my branch here:
> 
> git://project.greensocs.com/qemu-virtio.git virtio-rng-v3
> 
> Note that it is nearly the same series as virtio-blk and virtio-scsi
> refactoring, and is rebased on top of virtio-net-v3 I posted before.
> 
> I made basic tests (with linux guests) on:
>  * qemu-system-i386

On s390, with virtio-ccw and s390-virtio:

Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>

> 
> Changes v2 -> v3:
>     * Added CCW device.
>     * Changes name: "virtio-rng" => "virtio-rng-device".
>     * Rebased.
> 
> Thanks,
> 
> Fred
> 
> KONRAD Frederic (8):
>   virtio-rng: don't use pointer for configuration.
>   virtio-rng: add virtio-rng device.
>   virtio-rng-pci: switch to the new API.
>   virtio-rng-s390: switch to the new API.
>   virtio-rng-ccw: switch to the new API.
>   virtio-rng: cleanup: init and exit functions.
>   virtio-rng: cleanup: remove qdev field.
>   virtio-rng: cleanup: use QOM casts.
> 
>  hw/s390x/s390-virtio-bus.c     |  38 +++++-----
>  hw/s390x/s390-virtio-bus.h     |  12 +++-
>  hw/s390x/virtio-ccw.c          |  49 ++++++-------
>  hw/s390x/virtio-ccw.h          |  12 +++-
>  hw/virtio/virtio-pci.c         | 156 ++++++++++++++++-------------------------
>  hw/virtio/virtio-pci.h         |  14 +++-
>  hw/virtio/virtio-rng.c         | 120 ++++++++++++++++++++++---------
>  include/hw/virtio/virtio-rng.h |  20 ++++--
>  include/hw/virtio/virtio.h     |   2 -
>  9 files changed, 240 insertions(+), 183 deletions(-)
> 

  parent reply	other threads:[~2013-04-15 13:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 13:01 [Qemu-devel] [PATCH v3 0/8] virtio-rng refactoring fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 1/8] virtio-rng: don't use pointer for configuration fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 2/8] virtio-rng: add virtio-rng device fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 3/8] virtio-rng-pci: switch to the new API fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 4/8] virtio-rng-s390: " fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 5/8] virtio-rng-ccw: " fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 6/8] virtio-rng: cleanup: init and exit functions fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 7/8] virtio-rng: cleanup: remove qdev field fred.konrad
2013-04-14 13:01 ` [Qemu-devel] [PATCH v3 8/8] virtio-rng: cleanup: use QOM casts fred.konrad
2013-04-15 13:34   ` Andreas Färber
2013-04-15 14:33     ` KONRAD Frédéric
2013-04-15 17:06       ` Andreas Färber
2013-04-15 13:12 ` Cornelia Huck [this message]
2013-04-16  9:51 ` [Qemu-devel] [PATCH v3 0/8] virtio-rng refactoring Amit Shah

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=20130415151226.762e177f@gondolin \
    --to=cornelia.huck@de.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=fred.konrad@greensocs.com \
    --cc=mark.burton@greensocs.com \
    --cc=peter.maydell@linaro.org \
    --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.