From: Eduardo Habkost <ehabkost@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>,
Marcel Apfelbaum <marcel@redhat.com>
Subject: Re: [Qemu-devel] [PULL 00/19] machine queue, 2018-01-18
Date: Fri, 19 Jan 2018 11:15:58 -0200 [thread overview]
Message-ID: <20180119131558.GS5292@localhost.localdomain> (raw)
In-Reply-To: <20180119004728.ptmqdwdazens4dhv@hz-desktop>
On Fri, Jan 19, 2018 at 08:47:28AM +0800, Haozhong Zhang wrote:
> On 01/18/18 19:20 -0200, Eduardo Habkost wrote:
> > On Thu, Jan 18, 2018 at 03:22:05PM +0000, Peter Maydell wrote:
> > > On 18 January 2018 at 02:09, Eduardo Habkost <ehabkost@redhat.com> wrote:
> > > > The following changes since commit 8e5dc9ba49743b46d955ec7dacb04e42ae7ada7c:
> > > >
> > > > Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180116' into staging (2018-01-16 17:36:39 +0000)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > > git://github.com/ehabkost/qemu.git tags/machine-next-pull-request
> > > >
> > > > for you to fetch changes up to 901cc8d31f36ac82824ab68f656ab7050404100c:
> > > >
> > > > fw_cfg: fix memory corruption when all fw_cfg slots are used (2018-01-17 23:04:37 -0200)
> > > >
> > > > ----------------------------------------------------------------
> > > > machine queue, 2018-01-18
> > > >
> > > > ----------------------------------------------------------------
> > >
> > > Hi. I'm afraid this doesn't build on 32-bit hosts, due to a
> > > format string problem:
> > >
> > > In file included from /home/peter.maydell/qemu/exec.c:20:0:
> > > /home/peter.maydell/qemu/exec.c: In function 'file_ram_alloc':
> > > /home/peter.maydell/qemu/include/qapi/error.h:162:25: error: format
> > > '%llx' expects argument of type 'long long unsigned int', but argument
> > > 7 has type 'size_t {aka unsigned int}' [-Werror=format=]
> > > (fmt), ## __VA_ARGS__)
> > > ^
> > > /home/peter.maydell/qemu/exec.c:1616:9: note: in expansion of macro 'error_setg'
> > > error_setg(errp, "aligment 0x%" PRIx64
> > > ^
> >
> > Sorry for not catching this. Fixup will be included on a new
> > pull request:
> >
> > diff --git a/exec.c b/exec.c
> > index 00055559b8..7bba8ef4ab 100644
> > --- a/exec.c
> > +++ b/exec.c
> > @@ -1613,8 +1613,8 @@ static void *file_ram_alloc(RAMBlock *block,
> >
> > block->page_size = qemu_fd_getpagesize(fd);
> > if (block->mr->align % block->page_size) {
> > - error_setg(errp, "aligment 0x%" PRIx64
> > - " must be multiples of page size 0x%" PRIx64,
> > + error_setg(errp, "alignment 0x%" PRIx64
> > + " must be multiples of page size 0x%zd",
> ^^^^^^ 0x%zx, or remove the prefix '0x'
Oops. Luckily the pull request wasn't submitted yet.
--
Eduardo
prev parent reply other threads:[~2018-01-19 13:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 2:09 [Qemu-devel] [PULL 00/19] machine queue, 2018-01-18 Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 01/19] memfd: split qemu_memfd_alloc() Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 02/19] memfd: remove needless include Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 03/19] qemu-options: document missing memory-backend-file options Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 04/19] qemu-options: document memory-backend-ram Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 05/19] numa: fix missing '-numa cpu' in '-help' output Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 06/19] machine: Replace has_dynamic_sysbus with list of allowed devices Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 07/19] hw/arm/virt: Allow only supported dynamic sysbus devices Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 08/19] ppc: e500: " Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 09/19] spapr: " Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 10/19] xen: Add only xen-sysdev to dynamic sysbus device list Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 11/19] q35: Allow only supported dynamic sysbus devices Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 12/19] qdev_monitor: Simplify error handling in qdev_device_add() Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 13/19] qdev: Check for the availability of a hotplug controller before adding a device Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 14/19] scripts: Remove fixed entries from the device-crash-test Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 15/19] hostmem-file: add "align" option Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 16/19] nvdimm: add a macro for property "label-size" Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 17/19] nvdimm: add 'unarmed' option Eduardo Habkost
2018-01-18 2:09 ` [Qemu-devel] [PULL 18/19] possible_cpus: add CPUArchId::type field Eduardo Habkost
2018-01-18 2:10 ` [Qemu-devel] [PULL 19/19] fw_cfg: fix memory corruption when all fw_cfg slots are used Eduardo Habkost
2018-01-18 15:22 ` [Qemu-devel] [PULL 00/19] machine queue, 2018-01-18 Peter Maydell
2018-01-18 15:36 ` Philippe Mathieu-Daudé
2018-01-18 19:59 ` Eduardo Habkost
2018-01-18 20:14 ` Eduardo Habkost
2018-01-18 21:20 ` Eduardo Habkost
2018-01-19 0:47 ` Haozhong Zhang
2018-01-19 13:15 ` Eduardo Habkost [this message]
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=20180119131558.GS5292@localhost.localdomain \
--to=ehabkost@redhat.com \
--cc=marcel@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 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).