diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-15 15:00:27 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 15:24:34 +0100 |
commit | fff02bc00b41bd4f2d1081a31808849be0b275f8 (patch) | |
tree | b0c18239550bcb4bd8b508ce790a21f23e4a75a1 /hw/display/virtio-gpu.c | |
parent | d5da3ef2e24c29ddb92e11a54d705873acb905bf (diff) | |
download | qemu-fff02bc00b41bd4f2d1081a31808849be0b275f8.zip |
linux-headers: update from kvm/next
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu.c')
-rw-r--r-- | hw/display/virtio-gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c index a836ce3859..7e79a9c86c 100644 --- a/hw/display/virtio-gpu.c +++ b/hw/display/virtio-gpu.c @@ -146,14 +146,14 @@ static uint64_t virtio_gpu_get_features(VirtIODevice *vdev, uint64_t features, VirtIOGPU *g = VIRTIO_GPU(vdev); if (virtio_gpu_virgl_enabled(g->conf)) { - features |= (1 << VIRTIO_GPU_FEATURE_VIRGL); + features |= (1 << VIRTIO_GPU_F_VIRGL); } return features; } static void virtio_gpu_set_features(VirtIODevice *vdev, uint64_t features) { - static const uint32_t virgl = (1 << VIRTIO_GPU_FEATURE_VIRGL); + static const uint32_t virgl = (1 << VIRTIO_GPU_F_VIRGL); VirtIOGPU *g = VIRTIO_GPU(vdev); g->use_virgl_renderer = ((features & virgl) == virgl); |