Re: [libvirt] [PATCH] parallels: delete old networks in prlsdkDoApplyConfig before adding new ones

2015-04-08 Thread Michal Privoznik
On 06.04.2015 17:53, Maxim Nestratov wrote: In order to change an existing domain we delete all existing devices and add new from scratch. In case of network devices we should also delete corresponding virtual networks (if any) before removing actual devices from xml. In the patch, we do

Re: [libvirt] [PATCH] parallels: delete old networks in prlsdkDoApplyConfig before adding new ones

2015-04-07 Thread Dmitry Guryanov
On 04/06/2015 06:53 PM, Maxim Nestratov wrote: In order to change an existing domain we delete all existing devices and add new from scratch. In case of network devices we should also delete corresponding virtual networks (if any) before removing actual devices from xml. In the patch, we do it

[libvirt] [PATCH] parallels: delete old networks in prlsdkDoApplyConfig before adding new ones

2015-04-06 Thread Maxim Nestratov
In order to change an existing domain we delete all existing devices and add new from scratch. In case of network devices we should also delete corresponding virtual networks (if any) before removing actual devices from xml. In the patch, we do it by extending prlsdkDoApplyConfig with a new