[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices |
Date: |
Mon, 7 Mar 2022 17:46:50 -0500 |
On Mon, Mar 07, 2022 at 08:08:33AM -0500, Jonah Palmer wrote:
> This series introduces new QMP/HMP commands to dump the status of a
> virtio device at different levels.
Fails to build on the build-system-centos job:
libqemu-ppc64-softmmu.fa.p/hw_virtio_virtio.c.o: In function
`qmp_decode_features':
/builds/qemu-project/qemu/build/../hw/virtio/virtio.c:4155: undefined
reference to `gpu_map'
/builds/qemu-project/qemu/build/../hw/virtio/virtio.c:4155: undefined
reference to `gpu_map'
collect2: error: ld returned 1 exit status
https://gitlab.com/qemu-project/qemu/-/jobs/2172339948
Also fails on cross-win64-system:
https://gitlab.com/qemu-project/qemu/-/jobs/2172339938
../hw/virtio/virtio.c: In function 'qmp_x_query_virtio_vhost_queue_status':
../hw/virtio/virtio.c:4358:30: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
4358 | status->desc = (uint64_t)(unsigned long)hdev->vqs[queue].desc;
| ^
../hw/virtio/virtio.c:4359:31: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
4359 | status->avail = (uint64_t)(unsigned long)hdev->vqs[queue].avail;
| ^
../hw/virtio/virtio.c:4360:30: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
4360 | status->used = (uint64_t)(unsigned long)hdev->vqs[queue].used;
| ^
cc1: all warnings being treated as errors
Reported-by: PMM
--
MST
- [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices, Jonah Palmer, 2022/03/07
- [PATCH v13 2/8] virtio: add vhost support for virtio devices, Jonah Palmer, 2022/03/07
- [PATCH v13 4/8] qmp: add QMP command x-query-virtio-status, Jonah Palmer, 2022/03/07
- [PATCH v13 7/8] qmp: add QMP command x-query-virtio-queue-element, Jonah Palmer, 2022/03/07
- [PATCH v13 8/8] hmp: add virtio commands, Jonah Palmer, 2022/03/07
- [PATCH v13 1/8] virtio: drop name parameter for virtio_init(), Jonah Palmer, 2022/03/07
- [PATCH v13 3/8] qmp: add QMP command x-query-virtio, Jonah Palmer, 2022/03/07
- [PATCH v13 5/8] qmp: decode feature & status bits in virtio-status, Jonah Palmer, 2022/03/07
- [PATCH v13 6/8] qmp: add QMP commands for virtio/vhost queue-status, Jonah Palmer, 2022/03/07
- Re: [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices,
Michael S. Tsirkin <=