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

Re: [Xen-devel] [PATCH v6 10/13] libxl: set nic type to VIF by default



Roger Pau Monne wrote:
In the past this was not a problem, since when the guest is PV, we
didn't launch Qemu, and thus the tap device was never created and the
hotplug scripts were not launched. Now that we launch hotplug scripts
from libxl this is a problem, because when we call libxl_device_nic_add,
libxl has no idea if the domain is a PV or HVM guest, and only sees the
network type, which is set to IOEMU by default.

This is the main problem, I think it should be ok to leave the default
type as IOEMU in libxl__device_nic_setdefault and set the type manually
to VIF for PV guests in
libxl_create.c:libxl__domain_build_info_setdefault, does this sound ok?

My bad, libxl__domain_build_info_setdefault doesn't have access to
libxl_domain_config, I will search for another place...

_______________________________________________
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®.