]> git.proxmox.com Git - qemu.git/commit - hw/virtio/virtio-rng.c
virtio-rng: cleanup: use QOM casts.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Wed, 24 Apr 2013 08:08:01 +0000 (10:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Apr 2013 16:50:20 +0000 (11:50 -0500)
commit611aa333b472c3fee5d4aed3b7e007621797e895
tree80f7470c9242cbcc72034196fd23d0b791320c01
parent65f3b678f5b825010a1d167e82dca26ca84a199d
virtio-rng: cleanup: use QOM casts.

As the virtio-rng-pci, virtio-rng-s390 and virtio-rng-ccw are
switched to the new API, we can use QOM casts.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Message-id: 1366790881-3026-9-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio/virtio-rng.c
include/hw/virtio/virtio-rng.h