https://lists.nongnu.org/archive/html/qemu-devel/2011-12/msg00734.html seems to suggest that qemu-nbd is asynchronous, which could mean that qemu-nbd -d is not done by the time we try to delete the rootfs.
https:/ /lists. nongnu. org/archive/ html/qemu- devel/2011- 12/msg00734. html seems to suggest that qemu-nbd is asynchronous, which could mean that qemu-nbd -d is not done by the time we try to delete the rootfs.