From: Gerd Hoffmann Subject: Re: Re: [Qemu-devel] [PATCH 05/13] xen: groundwork for xen support Date: Wed, 27 Aug 2008 10:51:37 +0200 Message-ID: <48B51599.7040807@redhat.com> References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> <18611.56211.660082.627144@mariner.uk.xensource.com> <20080826125742.GB19615@redhat.com> <48B40306.2080104@redhat.com> <20080826132309.GC19615@redhat.com> <18612.1557.455011.713070@mariner.uk.xensource.com> <20080826141400.GE19615@redhat.com> <48B413D5.3080203@redhat.com> <20080826144056.GG19615@redhat.com> <48B417E1.6090709@redhat.com> <18612.6399.960344.359943@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18612.6399.960344.359943@mariner.uk.xensource.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: Ian Jackson Cc: xen-devel@lists.xensource.com, "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org Ian Jackson wrote: > Gerd Hoffmann writes ("Re: [Xen-devel] Re: [Qemu-devel] [PATCH 05/13] xen: groundwork for xen support"): >> But when running on xen we want being able to qemu tell it should *not* >> use the xen hypervisor but emulate things, thus -xen-emulate. > > That should be the default. It is not safe to use the Xen hypervisor > directly if there is a management toolstack which expects to mediate > domain creation. Ok. I think we have three cases then: (1) xen emulation using xenner (default, with or without kvm). (2) running on xen, with xend creating the domain, and (3) running on xen, with qemu creating the domain. For (2) and (3) we need command line switches to enable these modes. Specifying a domain ID makes sense in all three cases though. So I'd keep the -xen-domid switch, like this: -xen-domid specify xen domain id. -xen-attach attach to specified domain (created by xend). -xen-create create the domain directly. Comments? cheers, Gerd