virtio-gpu: update console device property.
commite18882952e46634ab7f53ef018a5e2e980996d48
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Jun 2015 10:19:42 +0000 (24 12:19 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jul 2015 09:23:17 +0000 (7 11:23 +0200)
treef36bd90d1866519e63a80af14a50832f84afdc74
parent5317b0f6d4bb581c5c8f88f31138ee301ad2b7e5
virtio-gpu: update console device property.

Update the device link of the QemuConsole, so it points to the
virtio-gpu-pci or virtio-vga device instead of virtio-gpu-device.

This is needed because we want to find the device by id, for
example for input routing, and the id specified on the command
line is attached to the pci proxy, not the virtio device.

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