[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [libvirt] Setting devid for emulated NICs (Xen 4.3.1 / libvirt 1.2.0) using libxl driver



On Fri, 2013-12-20 at 12:04 +0100, Stefan Bader wrote:
> config specifies no model or model == netfront:
>  - nic->model unset, nic->type = NIC_TYPE_VIF
> config specifies any other mode:
>  - nic->model = <name>, nic-type = NIC_TYPE_VIF_IOEMU
> 
> In libxl__device_nic_setdefault:
>  - nic->model unset -> nic->model = "rtl8139"
>  - For HWM domain
>    - nic->type unset -> nic-type = NIC_TYPE_VIF_IOEMU

OK, I think this is all working as intended.

> I am only "complaining" about the case of having no NIC model set in the 
> libvirt
> configuration. This sets NIC_TYPE_VIF but leaves nic->model unset.
> libxl sets the nic->model later but that has no effect because the type is set
> to VIF only.

Correct, the setting of nic->model here is irrelevant since that field
is ignored if the type is not VIF+IOEMU.

>  And the default used to be VIF+IOEMU with rtl8139 as model.

Right, this sounds like a libvirt level issue then.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.