Comment 33 for bug 1887490

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The issues of bug 1892826 seem resolved.
I also have found what the problem here is, it comes down to:

Oct 08 08:23:50 groovy-testEPYC libvirtd[2176]: XML error: failed to parse xml document '/usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml'

Which is right it isn't installed in my test build.

But we don't explicitly list these files in the packaging:
  debian/libvirt0.install:5:usr/share/libvirt/cpu_map/*

So I'd expect that this works, unless we have missed to install it in the upstream build system.
Maybe since master has already switched to meson in 6.7 and are post:
https://gitlab.com/libvirt/libvirt/-/commit/dfa2f42a046cce85d9c07869bd765dfbcaab2ab9
But we are on 6.6 we need a change to make this file available.
So we need a replacement for (this is no reocket science, in fact it is as it was in the suggested debdiff already):
--- a/src/cpu_map/meson.build
+++ b/src/cpu_map/meson.build
@@ -32,6 +32,7 @@ cpumap_data = [
   'x86_Dhyana.xml',
   'x86_EPYC-IBPB.xml',
   'x86_EPYC.xml',
+ 'x86_EPYC-Rome.xml',
   'x86_features.xml',
   'x86_Haswell-IBRS.xml',
   'x86_Haswell-noTSX-IBRS.xml',

But furthermore we will also need the following cleanup:
https://gitlab.com/libvirt/libvirt/-/commit/3bf6f9fe22dfbd3c1dcc614b31f2f4fe8b71a2f2