[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] libxl_device handling for nic and vtmp
On Thu, Feb 18, Wei Liu wrote: > Sorry I don't follow. What do you mean by 1:1 copy? Why does it make the > update unnecessary? The current code does: libxl_device_nic_init(&nic_saved); libxl_device_nic_copy(CTX, &nic_saved, nic); nic->devid = libxl__device_nextid(gc, domid, "vif"); libxl__update_config_nic(gc, &nic_saved, nic); Which is equivalent to the more obvious version: libxl_device_nic_init(&nic_saved); nic->devid = libxl__device_nextid(gc, domid, "vif"); libxl_device_nic_copy(CTX, &nic_saved, nic); The input gets modified either way. Is it expected that future versions of libxl_device_nic/vtmp_copy will not duplicate the mac/uuid parts? Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |