[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/17] Block patches
|
From: |
Stefan Hajnoczi |
|
Subject: |
Re: [PULL 00/17] Block patches |
|
Date: |
Mon, 1 May 2023 07:56:30 -0400 |
On Sat, Apr 29, 2023 at 11:05:06PM +0100, Richard Henderson wrote:
> On 4/28/23 13:39, Stefan Hajnoczi wrote:
> > The following changes since commit 05d50ba2d4668d43a835c5a502efdec9b92646e6:
> >
> > Merge tag 'migration-20230427-pull-request' of
> > https://gitlab.com/juan.quintela/qemu into staging (2023-04-28 08:35:06
> > +0100)
> >
> > are available in the Git repository at:
> >
> > https://gitlab.com/stefanha/qemu.git tags/block-pull-request
> >
> > for you to fetch changes up to d3c760be786571d83d5cea01953e543df4d76f51:
> >
> > docs/zoned-storage:add zoned emulation use case (2023-04-28 08:34:07
> > -0400)
> >
> > ----------------------------------------------------------------
> > Pull request
> >
> > This pull request contains Sam Li's virtio-blk zoned storage work. These
> > patches were dropped from my previous block pull request due to CI failures.
>
>
> More CI build failures, e.g.
Hi Sam,
There are some more CI failures.
>
> https://gitlab.com/qemu-project/qemu/-/jobs/4202086013#L1720
This Ubuntu 20.04 on s390x CI job failed because <linux/blkzoned.h> is
missing Linux commit e876df1fe0ad ("block: add zone open, close and
finish ioctl support"):
../block/file-posix.c: In function ‘raw_co_zone_mgmt’:
../block/file-posix.c:3472:14: error: ‘BLKOPENZONE’ undeclared (first use in
this function)
3472 | zo = BLKOPENZONE;
| ^~~~~~~~~~~
../block/file-posix.c:3472:14: note: each undeclared identifier is reported
only once for each function it appears in
../block/file-posix.c:3476:14: error: ‘BLKCLOSEZONE’ undeclared (first use in
this function); did you mean ‘BLKRESETZONE’?
3476 | zo = BLKCLOSEZONE;
| ^~~~~~~~~~~~
| BLKRESETZONE
../block/file-posix.c:3480:14: error: ‘BLKFINISHZONE’ undeclared (first use
in this function)
3480 | zo = BLKFINISHZONE;
| ^~~~~~~~~~~~~
Older kernels didn't have these ioctls. I don't think it makes sense to
enable file-posix zoned functionality without these ioctls.
I suggest changing the CONFIG_BLKZONED check in meson.build from:
config_host_data.set('CONFIG_BLKZONED', cc.has_header('linux/blkzoned.h'))
to:
config_host_data.set('CONFIG_BLKZONED',
cc.has_header_symbol('linux/blkzoned.h', 'BLKOPENZONE'))
> https://gitlab.com/qemu-project/qemu/-/jobs/4202085995#L4088
The <linux/asm/kvm.h> header file started using __DECLARE_FLEX_ARRAY()
and QEMU doesn't have that macro:
linux-headers/asm/kvm.h:509:3: error: expected specifier-qualifier-list
before '__DECLARE_FLEX_ARRAY'
509 | __DECLARE_FLEX_ARRAY(struct kvm_vmx_nested_state_data, vmx);
| ^~~~~~~~~~~~~~~~~~~~
You could update the sed command in scripts/update-linux-headers.sh to
convert __DECLARE_FLEX_ARRAY(type, field) into type field[] or import
the Linux macro definition of __DECLARE_FLEX_ARRAY().
Another failure is
https://gitlab.com/qemu-project/qemu/-/jobs/4202085991 where
qemu-iotests is failing because the output has changed due to the
addition of zoned fields to block stats.
Another failure is
https://gitlab.com/qemu-project/qemu/-/jobs/4202086041 where
qemu-system-ppc seems to segfault.
You can find the CI results here:
https://gitlab.com/qemu-project/qemu/-/pipelines/852908752
You can run the GitLab CI yourself like this:
$ git push -o ci.variable=QEMU_CI=2 your_gitlab_repo HEAD
Stefan
signature.asc
Description: PGP signature
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PULL 00/17] Block patches,
Stefan Hajnoczi <=