qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio-gpu doesn't build if you do a linux-headers update from kvm/next
@ 2015-11-05 11:42 Peter Maydell
  2015-11-05 11:49 ` Paolo Bonzini
  2015-11-05 12:13 ` Gerd Hoffmann
  0 siblings, 2 replies; 26+ messages in thread
From: Peter Maydell @ 2015-11-05 11:42 UTC (permalink / raw)
  To: QEMU Developers, Gerd Hoffmann, Paolo Bonzini

I tried to do a linux headers update against kvm/next (commit
197a4f4b063e4) with update-linux-headers.sh, but the result gives
a virtio-gpu that doesn't compile:

make: Entering directory
`/home/petmay01/linaro/qemu-from-laptop/qemu/build/all-debug'
  CC    aarch64-softmmu/hw/display/virtio-gpu.o
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:
In function ‘virtio_gpu_get_features’:
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:149:27:
error: ‘VIRTIO_GPU_FEATURE_VIRGL’ undeclared (first use in this
function)
         features |= (1 << VIRTIO_GPU_FEATURE_VIRGL);
                           ^
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:149:27:
note: each undeclared identifier is reported only once for each
function it appears in
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:
In function ‘virtio_gpu_set_features’:
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:156:41:
error: ‘VIRTIO_GPU_FEATURE_VIRGL’ undeclared (first use in this
function)
     static const uint32_t virgl = (1 << VIRTIO_GPU_FEATURE_VIRGL);
                                         ^
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:
In function ‘virtio_gpu_device_realize’:
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:914:25:
error: ‘struct virtio_gpu_config’ has no member named ‘num_capsets’
         g->virtio_config.num_capsets = 1;
                         ^
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:
At top level:
/home/petmay01/linaro/qemu-from-laptop/qemu/hw/display/virtio-gpu.c:1035:46:
error: invalid application of ‘sizeof’ to incomplete type ‘struct
virtio_gpu_transfer_host_3d’
 QEMU_BUILD_BUG_ON(sizeof(struct virtio_gpu_transfer_host_3d)        != 72);
                                              ^

etc, because all the virtio_gpu definitions disappear from
include/standard-headers/linux/virtio_gpu.h.

What's happening here?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-11-06 16:43 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 11:42 [Qemu-devel] virtio-gpu doesn't build if you do a linux-headers update from kvm/next Peter Maydell
2015-11-05 11:49 ` Paolo Bonzini
2015-11-05 12:13 ` Gerd Hoffmann
2015-11-05 12:32   ` Peter Maydell
2015-11-05 13:23     ` Christian Borntraeger
2015-11-05 13:44       ` Peter Maydell
2015-11-05 13:46         ` Christian Borntraeger
2015-11-05 14:01         ` Paolo Bonzini
2015-11-05 14:30           ` Peter Maydell
2015-11-05 14:52             ` Peter Maydell
2015-11-05 15:03               ` Paolo Bonzini
2015-11-05 14:58             ` Paolo Bonzini
2015-11-05 18:56               ` Peter Maydell
2015-11-05 13:48     ` Laszlo Ersek
2015-11-05 15:52       ` Alex Bennée
2015-11-05 17:05         ` Laszlo Ersek
2015-11-05 17:09           ` Paolo Bonzini
2015-11-05 14:42     ` Gerd Hoffmann
2015-11-05 14:45       ` Peter Maydell
2015-11-05 14:58         ` Gerd Hoffmann
2015-11-05 15:11           ` Peter Maydell
2015-11-05 17:15             ` Laszlo Ersek
2015-11-05 18:13               ` Cornelia Huck
2015-11-05 18:51                 ` Laszlo Ersek
2015-11-06 16:34               ` Alex Bennée
2015-11-06 16:43               ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).