From: Gerd Hoffmann Subject: Re: Re: [Qemu-devel] [PATCH 05/13] xen: groundwork for xen support Date: Tue, 26 Aug 2008 15:20:06 +0200 Message-ID: <48B40306.2080104@redhat.com> References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> <18611.56211.660082.627144@mariner.uk.xensource.com> <20080826125742.GB19615@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080826125742.GB19615@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Ian Jackson , qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org Daniel P. Berrange wrote: > Probing for whether a domain ID exists in the hypervisor, and if not, then > creating it, has a nasty race condition, where XenD could launch QEMU > and then (for whatever reason) decide to kill off the domain, but QEMU > then re-creates it during its startup procedure. Oops. Yes, that needs to be addressed. > If we want QEMU to explicitly created Xen domains from scratch, rather than > attaching to an existing one, then there needs to be a way to reliably > specify this behaviour via the CLI. So we are scoring at three options for xen now: -xen-domid specify xen domain id. -xen-create ask qemu to create the domain. -xen-emulate force xen emulation mode. I'll go add these for the next round. cheers, Gerd