]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
parallels: add support of network interfaces to parallelsDomainDefineXML
authorDmitry Guryanov <dguryanov@parallels.com>
Tue, 11 Dec 2012 10:59:43 +0000 (14:59 +0400)
committerDaniel Veillard <veillard@redhat.com>
Tue, 11 Dec 2012 14:46:16 +0000 (22:46 +0800)
commit880fcf6ab2ccdadedbb8124d8e4ac2c52b3e7a77
treedb8571492ab3944db19590d38f62f13cb8a67339
parent8ce9e2abc324d24a22b79f26eee89e6d58a00f00
parallels: add support of network interfaces to parallelsDomainDefineXML

Allow changing network interfaces in domain configuration.

ifname is used as iterface identifier: if there is interface
with some ifname in old config and there are no interfaces with
such name in the new config - issue prlctl command to delete
the network interface. And vice versa - if interface with
some ifname exists only in new config - issue prlctl command
to create it.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/parallels/parallels_driver.c