I believe this was caused by commit 3fbf78bdf331d8ab0a015c7fec885a8e4192f0fa
           qemu: Remove devices only after DEVICE_DELETED event

qemuDomainDetachDiskDevice() does:
    if (!qemuDomainWaitForDeviceRemoval(vm))                                    
                   |                             
        qemuDomainRemoveDiskDevice(driver, vm, detach);                         
                   |    if (virJSONValueObjectAppend(cmd, "arguments", args) < 
0)

but qemuDomainWaitForDeviceRemoval is returning 2, meaning the device was
not removed in QEMU_REMOVAL_WAIT_TIME.  Morover, qemuDomainWaitForDeviceRemoval
returns 1 when device remove al has finished, and 0 only when
DEVICE_DELETED is unsupported - suggesting the code is fundamentally broken.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1262756

Title:
  regression in 1.2: device_remove does not remove file from
  libvirt-$uuid.files apparmor file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1262756/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to