On 12/04/2017 02:53 PM, Marek Marczykowski-Górecki wrote:
On Mon, Dec 04, 2017 at 02:46:58PM -0700, Jim Fehlig wrote:
There's another instance of this check in xenFormatNet() in
src/xenconfig/xen_common.c. I suppose multiple IP addrs are not supported in
xml <-> xl.cfg conversions. Do you have time to fix the config converter
too?

Where should I put helper function to not duplicate it across those two
drivers?

Would there be duplicate code? The two serve different purposes. xenconfig converts libvirt domXML to/from the various Xen config formats (xl, xm, sexpr). The libxl driver maps virDomainDef to libxl_domain_config.

Regards,
Jim

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to