mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-04 05:30:31 -07:00
hw/display/vhost-user-gpu.c: fix vhost_user_gpu_chr_read()
fix vhost_user_gpu_chr_read() where `size` was incorrectly passed to `msg->flags`. Fixes:267f664658("hw/display: add vhost-user-vga & gpu-pci") Signed-off-by: Haoran Zhang <wh1sper@zju.edu.cn> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> (cherry picked from commitd6192f3f75) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
b836e9f8c3
commit
b60c61dbb8
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ vhost_user_gpu_chr_read(void *opaque)
|
|||
}
|
||||
|
||||
msg->request = request;
|
||||
msg->flags = size;
|
||||
msg->flags = flags;
|
||||
msg->size = size;
|
||||
|
||||
if (request == VHOST_USER_GPU_CURSOR_UPDATE ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue