qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v9 0/5] vhost-user block device backend implementation


From: Coiby Xu
Subject: Re: [PATCH v9 0/5] vhost-user block device backend implementation
Date: Wed, 24 Jun 2020 12:00:19 +0800

On Thu, Jun 18, 2020 at 09:27:48AM +0100, Stefan Hajnoczi wrote:
On Tue, Jun 16, 2020 at 02:52:16PM +0800, Coiby Xu wrote:
On Sun, Jun 14, 2020 at 12:16:28PM -0700, no-reply@patchew.org wrote:
> Patchew URL: 
20200614183907.514282-1-coiby.xu@gmail.com/">https://patchew.org/QEMU/20200614183907.514282-1-coiby.xu@gmail.com/
>
>
>
> Hi,
>
> This series failed the asan build test. Please find the testing commands and
> their output below. If you have Docker installed, you can probably reproduce 
it
> locally.
>
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> export ARCH=x86_64
> make docker-image-fedora V=1 NETWORK=1
> time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
> === TEST SCRIPT END ===
>
>  CC      stubs/vm-stop.o
>  CC      ui/input-keymap.o
>  CC      qemu-keymap.o
> /tmp/qemu-test/src/util/vhost-user-server.c:142:30: error: use of undeclared 
identifier 'VHOST_MEMORY_MAX_NREGIONS'
>                             VHOST_MEMORY_MAX_NREGIONS, nfds + nfds_t);
>                             ^
>
> The full log is available at
> 
20200614183907.514282-1-coiby.xu@gmail.com/testing.asan/?type=message">http://patchew.org/logs/20200614183907.514282-1-coiby.xu@gmail.com/testing.asan/?type=message.

I couldn't re-produce this error locally for both docker-test-quick@centos7
and this docker test. And I can't see any reason for this error to occur since
VHOST_MEMORY_MAX_NREGIONS is defined in contrib/libvhost-user/libvhost-user.h
which has been included by util/vhost-user-server.h.

Please see the recent change in commit
b650d5f4b1cd3f9f8c4fdb319838c5c1e0695e41 ("Lift max ram slots limit in
libvhost-user").

The error can be solved by replacing VHOST_MEMORY_MAX_NREGIONS with
VHOST_MEMORY_BASELINE_NREGIONS in util/vhost-user-server.c.

Thank you for the clarification! I did run "git pull" when checking this error.
It seems there is a delay when pulling updates from git://git.qemu.org/qemu.git.


--
Best regards,
Coiby



reply via email to

[Prev in Thread] Current Thread [Next in Thread]