All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Jonah Palmer <jonah.palmer@oracle.com>
Cc: david@redhat.com, qemu_oss@crudebyte.com, qemu-devel@nongnu.org,
	kraxel@redhat.com, si-wei.liu@oracle.com,
	joao.m.martins@oracle.com, eblake@redhat.com,
	qemu-block@nongnu.org, armbru@redhat.com,
	arei.gonglei@huawei.com, marcandre.lureau@redhat.com,
	lvivier@redhat.com, thuth@redhat.com, michael.roth@amd.com,
	groug@kaod.org, dgilbert@redhat.com, eric.auger@redhat.com,
	stefanha@redhat.com, boris.ostrovsky@oracle.com,
	kwolf@redhat.com, mathieu.poirier@linaro.org,
	raphael.norwitz@nutanix.com, pbonzini@redhat.com
Subject: Re: [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices
Date: Mon, 7 Mar 2022 17:46:50 -0500	[thread overview]
Message-ID: <20220307174606-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1646658521-31652-1-git-send-email-jonah.palmer@oracle.com>

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



  parent reply	other threads:[~2022-03-07 23:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 13:08 [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 1/8] virtio: drop name parameter for virtio_init() Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 2/8] virtio: add vhost support for virtio devices Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 3/8] qmp: add QMP command x-query-virtio Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 4/8] qmp: add QMP command x-query-virtio-status Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 5/8] qmp: decode feature & status bits in virtio-status Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 6/8] qmp: add QMP commands for virtio/vhost queue-status Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 7/8] qmp: add QMP command x-query-virtio-queue-element Jonah Palmer
2022-03-07 13:08 ` [PATCH v13 8/8] hmp: add virtio commands Jonah Palmer
2022-03-07 22:46 ` Michael S. Tsirkin [this message]
2022-03-14 15:08   ` [PATCH v13 0/8] hmp,qmp: Add commands to introspect virtio devices Jonah Palmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220307174606-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=arei.gonglei@huawei.com \
    --cc=armbru@redhat.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=eric.auger@redhat.com \
    --cc=groug@kaod.org \
    --cc=joao.m.martins@oracle.com \
    --cc=jonah.palmer@oracle.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=michael.roth@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu_oss@crudebyte.com \
    --cc=raphael.norwitz@nutanix.com \
    --cc=si-wei.liu@oracle.com \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.