Index: xen-4.4.0-testing/tools/blktap/drivers/blktapctrl.c
===================================================================
--- xen-4.4.0-testing.orig/tools/blktap/drivers/blktapctrl.c
+++ xen-4.4.0-testing/tools/blktap/drivers/blktapctrl.c
@@ -282,7 +282,7 @@ static int del_disktype(blkif_t *blkif)
 	 * qemu-dm instance. We may close the file handle only if there is
 	 * no other disk left for this domain.
 	 */
-	if (dtypes[type]->use_ioemu)
+	if (dtypes[type]->use_ioemu && dtypes[type]->idnum != DISK_TYPE_AIO)
 		return !qemu_instance_has_disks(blkif->tappid);
 
 	/* Caller should close() if no single controller, or list is empty. */