virtio-gpu: use virtio_instance_init_common, fixup properties
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Jun 2015 10:22:09 +0000 (12:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jul 2015 09:23:18 +0000 (11:23 +0200)
commitb3409a31001e86d48221ea967b1c696c6497f318
treeb7382b46b92b133157d9ad102790d787c64a2846
parente18882952e46634ab7f53ef018a5e2e980996d48
virtio-gpu: use virtio_instance_init_common, fixup properties

Switch over to virtio_instance_init_common.  Drop duplicate properties
in virtio-gpu-pci and virtio-vga as they are properly aliased now.  Also
drop the indirection via DEFINE_VIRTIO_GPU_PROPERTIES, we don't need it
any more as the properties are defined in a single place now.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu-pci.c
hw/display/virtio-gpu.c
hw/display/virtio-vga.c
include/hw/virtio/virtio-gpu.h