ldoktor/autotest — comment on commit b96124e23251f77e10c72ca5a5599b7bc02050e2
File: client/tests/kvm/tests/cgroup.py line 104
By ldoktor:

Lucas, I really tried to use device_del / device_add / drive_add but it's unusable. Even with sync and 10s without disk activity it fails to remove device during cleanup with kernel BUG at drivers/block/virtio_blk.c:481...

Do you still believe I should use this instead of working pci_add / pci_del? I belive later this will become a kvm_vm function with propper handling, but I'd chose functionality just for now...