]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-rng-pci: switch to the new API.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Wed, 24 Apr 2013 08:07:56 +0000 (10:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Apr 2013 16:50:19 +0000 (11:50 -0500)
commit59ccd20a9ac719cff82180429458728f03ec612f
treead1d80917cee18600cb02d190cd7db5f554e3cef
parent6eac8aec02b1e9c5a626820bcca7654cb7d006a7
virtio-rng-pci: switch to the new API.

Here the virtio-rng-pci is modified for the new API. The device
virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device
during the init. The properties are not changed.

The virtio_pci_reset function, is removed as no longer used.
The virtio_pci_rst function, is renamed virtio_pci_reset.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Message-id: 1366790881-3026-4-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h