Re: [PATCH] Account for fact that virDomainDeviceDefCopy() does an inactive copy

2022-01-05 Thread Laine Stump
On 1/4/22 11:59 AM, Michal Privoznik wrote: In a few places (e.g. device attach/detach/update) we are given a device XML, parse it but then need a copy of parsed data so that the original can be passed to function handling the request over inactive XML and the copy is then passed to function

[PATCH] Account for fact that virDomainDeviceDefCopy() does an inactive copy

2022-01-04 Thread Michal Privoznik
In a few places (e.g. device attach/detach/update) we are given a device XML, parse it but then need a copy of parsed data so that the original can be passed to function handling the request over inactive XML and the copy is then passed to function handling the operation over live XML. Note, both