libxl: Normalize MAC address in device conf when hotplugging a netdev
Similar to commits 55ce6564 and 6c17606b in the qemu driver, make separate copies of persistent and live device config and normalize the MAC address between the two. This avoids having different MAC address for the persistent and live config, ensuring the device has the same address when the persistent config takes affect after a VM restart. Signed-off-by: NJim Fehlig <jfehlig@suse.com> Reviewed-by: NLaine Stump <laine@redhat.com>
Showing
想要评论请 注册 或 登录