• P
    qemu: Fix detaching from persistent def in qemuDomainDetachDeviceAliasLiveAndConfig · d7ca39e0
    Peter Krempa 提交于
    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: NPeter Krempa <pkrempa@redhat.com>
    d7ca39e0
qemu_driver.c 682.1 KB