virtio-gpu-3d: Drop workaround for VIRTIO_GPU_CAPSET_VIRGL2 define
In commita8bff79e9f
we added a definition to hw/virtio/virtio-gpu.h for VIRTIO_GPU_CAPSET_VIRGL2, as a workaround for it not yet being in the Linux kernel headers. In commit77d361b13c
we updated our kernel headers to a version which does define the macro, so we can now remove our workaround. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20180622173249.29963-1-peter.maydell@linaro.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6b9b3c1e30
commit
fd1cfb875b
@ -22,11 +22,6 @@
|
||||
|
||||
#include "standard-headers/linux/virtio_gpu.h"
|
||||
|
||||
/* Not yet(?) defined in standard-headers, remove when possible */
|
||||
#ifndef VIRTIO_GPU_CAPSET_VIRGL2
|
||||
#define VIRTIO_GPU_CAPSET_VIRGL2 2
|
||||
#endif
|
||||
|
||||
#define TYPE_VIRTIO_GPU "virtio-gpu-device"
|
||||
#define VIRTIO_GPU(obj) \
|
||||
OBJECT_CHECK(VirtIOGPU, (obj), TYPE_VIRTIO_GPU)
|
||||
|
Loading…
Reference in New Issue
Block a user