[Pkg-xen-devel] Bug#922033: Bug#922033: xen: driver domain does not work

Hans van Kranenburg hans at knorrie.org
Wed Feb 13 01:07:22 GMT 2019


Hi,

On 2/13/19 1:53 AM, Marek Marczykowski-Górecki wrote:
> Preliminary test results of something based on debian-xen master branch:
> Xen version detection seems fundamentally wrong when talking about domU
> side. I've installed relevant packages in buster-based domU, then tried
> manually `xl devd`. The result:
> 
>     ERROR:  Can't find version 4.8 of xen utils, bailing out!

That message is from /usr/lib/xen-common/bin/xen-dir. xl is not actually
xl, but it's the wrapper script which tries to run xl for the current
running hypervisor version. Bweuh...

> Yes, the hypervisor (and dom0 tools) are 4.8. But it should not matter
> for domU, since it use only stable ABI.
> The detection logic should be used only in dom0. On domU side I think it
> should take version of xen-utils-common package (the one shipping
> detection script) - so xen-utils-common_4.11* will use xen-utils_4.11.

xen-utils-common 4.11 does not depend on xen-utils 4.11, so it can be
missing.

And indeed, doing things based on running hypervisor does not make sense
here.

What if you try running /usr/lib/xen-4.8/bin/xl directly instead, for fun?

Hans



More information about the Pkg-xen-devel mailing list