libvirt
/
libvirt
|
master
|
18 mins and 19 secs
|
Peter Krempa
|
qemu: Fix detaching from persistent def in qemuDomainDetachDeviceAliasLiveAndConfig
The code that detaches the device from persistent definition copies the persistent definition first so that it can easily be rolled back. The actual detaching is then made in the copy which is assigned back on success (if the live operation succeeded as well).
This is not the case in qemuDomainDetachDeviceAliasLiveAndConfig where the definition was copied and put back, but the detaching happened from the other object which was overwritten.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|