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

Re: [xen-unstable-smoke bisection] complete build-amd64-libvirt



(+ Anthony)

Hi,

On 29/07/2022 07:48, Oleksandr Tyshchenko wrote:

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

On 29.07.2022 03:04, osstest service owner wrote:
branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb 
https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$
 [gitlab[.]com]
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

    Bug is in tree:  xen git://xenbits.xen.org/xen.git
    Bug introduced:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
    Last fail repro: 
https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$
 [logs[.]test-lab[.]xenproject[.]org]


    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
    Date:   Fri Jul 15 22:20:24 2022 +0300
libxl: Add support for Virtio disk configuration
Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or
whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]
                 switch (libxldisk->backend) {
                 ^~~~~~

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.


I will try to investigate and provide a fix by the end of the day.

So the general expectation is libvirt should be able to compile without using the new features provided by libxl.

In this case, I am not sure there is anything we could do in libxl without large rework to conditionally define LIBXL_DISK_BACKEND_STANDALONE.

So if a fix is necessary, then it will probably need to be in libvirt.

Cheers,

[1] https://xenbits.xen.org/gitweb/?p=libvirt.git;a=blob;f=src/libxl/xen_xl.c;h=f9dc18ab18b208d319282ce422f46c75135c0673;hb=refs/heads/xen-tested-master#l779

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.