From: Roger Pau Monne Subject: [PATCH 0/2] Fix xc_domain_config usage Date: Fri, 13 Nov 2015 12:05:50 +0100 Message-ID: <1447412752-24545-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZxCBD-0003S7-D8 for xen-devel@lists.xenproject.org; Fri, 13 Nov 2015 11:06:07 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Hello, Due to the HVMlite patches now x86 always requires a valid arch domain config. This is currently causing problems to out-of-tree toolstacks that are based on the Ocaml or the python bindings, since those bindings have lost the ability to create HVM guests because a zeroed arch domain config is always used regardless of the guest type. In order to fix this add a new parameter to xc_domain_create that's a pointer to a arch domain config that can be null (the function itself will set a sensible default based on the guest type). Since xc_domain_create_config is meaningless now just remove it. The in-tree callers are fixed in the first patch, while Qemu is fixed in the second patch. I'm not sure how this is going to work with the push gate, since both patches should be applied and tested together, or else Qemu build is going to fail. Thanks, Roger.