virtio-vga: fix reset
We must call the reset functions for both virtio-gpu and vga to properly reset the combo device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20180821111313.27792-2-kraxel@redhat.com
This commit is contained in:
@@ -1289,7 +1289,7 @@ static void virtio_gpu_instance_init(Object *obj)
|
||||
{
|
||||
}
|
||||
|
||||
static void virtio_gpu_reset(VirtIODevice *vdev)
|
||||
void virtio_gpu_reset(VirtIODevice *vdev)
|
||||
{
|
||||
VirtIOGPU *g = VIRTIO_GPU(vdev);
|
||||
struct virtio_gpu_simple_resource *res, *tmp;
|
||||
|
Reference in New Issue
Block a user