[libvirt] [PATCH 1/2] libxl: add support for multiple IP addresses
Jim Fehlig
jfehlig at suse.com
Mon Dec 4 22:14:33 UTC 2017
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
More information about the libvir-list
mailing list