mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
19b599f766
commit
43e4dbe206
3 changed files with 7 additions and 2 deletions
|
@ -150,6 +150,7 @@ extern const GraphicHwOps virtio_gpu_ops;
|
|||
} while (0)
|
||||
|
||||
/* virtio-gpu.c */
|
||||
void virtio_gpu_reset(VirtIODevice *vdev);
|
||||
void virtio_gpu_ctrl_response(VirtIOGPU *g,
|
||||
struct virtio_gpu_ctrl_command *cmd,
|
||||
struct virtio_gpu_ctrl_hdr *resp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue