]> git.proxmox.com Git - qemu.git/commit - include/hw/virtio/virtio-net.h
virtio: make virtio device's structures public.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 18 Mar 2013 16:37:18 +0000 (17:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Mar 2013 18:08:39 +0000 (13:08 -0500)
commitf1b24e840f9f85a2bb3912e4507d887e7858219d
tree02f71b36d2e0b115ca68d7663f2d18b4c63f7276
parente531761d63b7f8fe6b6423fafb3616ebbff768aa
virtio: make virtio device's structures public.

These structures must be made public to avoid two memory allocations for
refactored virtio devices.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1363624648-16906-2-git-send-email-fred.konrad@greensocs.com

Changes V4 <- V3:
   * Rebased on current git.

Changes V3 <- V2:
    * Style correction spotted by Andreas (virtio-scsi.h).
    * Style correction for virtio-net.h.

Changes V2 <- V1:
    * Move the dataplane include into the header (virtio-blk).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
12 files changed:
hw/virtio-balloon.c
hw/virtio-balloon.h
hw/virtio-blk.c
hw/virtio-blk.h
hw/virtio-net.c
hw/virtio-net.h
hw/virtio-rng.c
hw/virtio-rng.h
hw/virtio-scsi.c
hw/virtio-scsi.h
hw/virtio-serial-bus.c
hw/virtio-serial.h