From: Ian Campbell Subject: Re: [PATCH 11/13] libxl: set nic type to VIF by default Date: Tue, 29 May 2012 16:06:45 +0100 Message-ID: <1338304005.14158.127.camel@zakaz.uk.xensource.com> References: <1337184716-49276-1-git-send-email-roger.pau@citrix.com> <1337184716-49276-12-git-send-email-roger.pau@citrix.com> <20406.31676.266501.253510@mariner.uk.xensource.com> <4FBA6D52.9050809@citrix.com> <20420.57290.841831.831419@mariner.uk.xensource.com> <1338302817.14158.120.camel@zakaz.uk.xensource.com> <20420.58614.943975.416524@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20420.58614.943975.416524@mariner.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 Jackson Cc: "xen-devel@lists.xen.org" , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Tue, 2012-05-29 at 16:02 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH 11/13] libxl: set nic type to VIF by default"): > > On Tue, 2012-05-29 at 15:40 +0100, Ian Jackson wrote: > ... > > > I'm a bit confused about all this, I confess. What does xend do ? > > > > > > ATM it seems that this change would mean that a guest config file > > > specified in the most obvious way wouldn't get an emulated nic at > > > all. That can't be right, can it ? > > > > It's confusingly named. > > > > IOEMU -> emulated only on HVM, meaningless on PV. > > VIF -> both emulated and PV (on HVM) or just PV (on PV) > > > > So a default of "VIF" is what you normally want. > > Oh! > > Perhaps we could rename the enum values (and disrupt everyone's > patches) to fix this before we call the API stable. As a "Nice To Have", perhaps. The stable API rules we have set don't preclude us changing them later, we just have to provide a suitable compat define if LIBXL_API_VERSION is set to a relevant value. What are some better names? IOEMU, VIF and HYBRID? Or DUAL? Ian.