From: Ian Jackson Subject: Re: [PATCH 11/13] libxl: set nic type to VIF by default Date: Fri, 18 May 2012 17:41:32 +0100 Message-ID: <20406.31676.266501.253510@mariner.uk.xensource.com> References: <1337184716-49276-1-git-send-email-roger.pau@citrix.com> <1337184716-49276-12-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1337184716-49276-12-git-send-email-roger.pau@citrix.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: Roger Pau Monne Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH 11/13] libxl: set nic type to VIF by default"): > Set the default value for nic interfaces to VIF, since it used to be > IOEMU, even for PV guests. How odd. > diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c > index 2490138..631de15 100644 > --- a/tools/libxl/libxl.c > +++ b/tools/libxl/libxl.c > @@ -1637,7 +1637,7 @@ int libxl__device_nic_setdefault(libxl__gc *gc, libxl_device_nic *nic) > libxl__xen_script_dir_path()) < 0 ) > return ERROR_FAIL; > if (!nic->nictype) > - nic->nictype = LIBXL_NIC_TYPE_IOEMU; > + nic->nictype = LIBXL_NIC_TYPE_VIF; But doesn't this set the default type to VIF even for HVM guests ? Ian.