From: Ian Jackson Subject: Re: [PATCH] Rlibxl: refuse to try and migrate an HVM guest using qemu-xen Date: Fri, 29 Jun 2012 17:03:46 +0100 Message-ID: <20461.53730.596591.328470@mariner.uk.xensource.com> References: <20461.36759.685003.44867@mariner.uk.xensource.com> <1340970454.10942.97.camel@zakaz.uk.xensource.com> <1340973172.10942.98.camel@zakaz.uk.xensource.com> <1340985702.10942.136.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1340985702.10942.136.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Anthony Perard , "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH] Rlibxl: refuse to try and migrate an HVM guest using qemu-xen"): > > I think we should add an appropriate error message as a blocker. We > > should also try to fix this on the QEMU side, but given that the QEMU > > 1.0 stable tree is pretty much unmaintaned, we won't be able to backport > > the fix there, so we cannot be sure that a distro will end up with a > > QEMU with or without the fix. > > How about this for the time being, we can always revert or enhance as > necessary before 4.2. ... > + libxl_device_model_version dm = > + libxl__device_model_version_running(gc, domid); libxl__device_model_version_running can return -1. (Its error handling is pretty bad but that's no excuse for making matters worse.) I suggest we retcon it as returning a libxl error code. Ian.