From: Olaf Hering Subject: Re: Regression in xen-unstable due to commit 3802ecbaa9eb36 Date: Thu, 16 May 2019 14:04:51 +0200 Message-ID: <20190516140451.06cfcbfe.ohering@suse.com> References: <1ae5e201-04d0-2f78-878f-2e3a3e213b62@suse.com> <20190516110735.67e19d15.ohering@suse.com> <20190516104540.7hiqsn6qjeaam2c6@Air-de-Roger> <20190516125735.6c1bf1ca.ohering@suse.com> <20190516112450.GW2798@zion.uk.xensource.com> <20190516133857.742e4f13.ohering@suse.com> <20190516115043.GB2798@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0189247487413301305==" Return-path: Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hRF87-0006Pn-Ag for xen-devel@lists.xenproject.org; Thu, 16 May 2019 12:04:59 +0000 In-Reply-To: <20190516115043.GB2798@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" To: Wei Liu Cc: Juergen Gross , xen-devel , Ian Jackson , Roger Pau =?UTF-8?B?TW9ubsOp?= List-Id: xen-devel@lists.xenproject.org --===============0189247487413301305== Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/iUeg0sGcAMUNwGnwnV1b4Qi"; protocol="application/pgp-signature" --Sig_/iUeg0sGcAMUNwGnwnV1b4Qi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 16 May 2019 12:50:43 +0100 schrieb Wei Liu : > Adding new APIs and defining LIBXL_HAVE won't get you out of this hole. =46rom what I see, src/libxl/libxl_conf.c:libxlBuildDomainConfig would need to call libxl_domain_config_finish(libxl_domain_config*) at the end of that function, wrapped in a #ifdef. But your are right, old libvirt and new libxl need a solution without introducing a new API. There are quite a few checks for device_model_version, they would be all wrong if the assert is removed, or changed back to QEMU_XEN. Perhaps we can continue to live with that error. device_model_version could become a local variable. If it is not set, assume the caller just wants the memory size and enforce QEMU_XEN again within that function. Olaf --Sig_/iUeg0sGcAMUNwGnwnV1b4Qi Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCXN1R4wAKCRBdQqD6ppg2 fj5hAKDRxb8Pey+Fx2NRpnBhI7vUyW3ypgCg+Uqy5t21srxlczwBOX318AlxcdU= =OZf6 -----END PGP SIGNATURE----- --Sig_/iUeg0sGcAMUNwGnwnV1b4Qi-- --===============0189247487413301305== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============0189247487413301305==--