virtio-gpu: maintain command queue
commit3eb769fd1cf15f16ca796ab5618efe89b23aa625
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 1 Dec 2015 11:05:14 +0000 (1 12:05 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 3 Feb 2016 09:41:36 +0000 (3 10:41 +0100)
tree9be766198c14916102f2202a4f24ecd94eecd9e0
parent8d94c1ca53c638f6ec76840b0cb24677fb7705bf
virtio-gpu: maintain command queue

We'll go take out the commands we receive out of the virt queue and put
them into a linked list, to decouple virtio queue handling from actual
command processing.

Also move cmd processing to new virtio_gpu_handle_ctrl func, so we can
easily kick it from different places.

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