For some reason migration of HVM domUs from pre-4.14 to staging is broken. It seems xc_cpuid_apply_policy gets nr_leaves=119 from XEN_SYSCTL_get_cpu_policy. Later XEN_SYSCTL_cpu_policy_hvm_default truncates this value to 31. As a result x86_cpuid_copy_to_buffer returns -ENOBUFS. It would copy up to 51 leaves in my testing.
I suspect commit 34990446ca91d9e201ff17bd4e3f43bfe3ad308e just revealed a logic error somewhere. What is supposed to happen in libxl__srm_callout_callback_static_data_done when XGR_SDD_MISSING_CPUID is set? Olaf
pgpr8UQZ3kyHt.pgp
Description: Digitale Signatur von OpenPGP