2014-01-02 20:09:07 +01:00
|
|
|
Index: xen-4.4.0-testing/tools/blktap/drivers/blktapctrl.c
|
2012-01-23 22:46:39 +01:00
|
|
|
===================================================================
|
2014-01-02 20:09:07 +01:00
|
|
|
--- xen-4.4.0-testing.orig/tools/blktap/drivers/blktapctrl.c
|
|
|
|
+++ xen-4.4.0-testing/tools/blktap/drivers/blktapctrl.c
|
2012-09-17 17:49:23 +02:00
|
|
|
@@ -282,7 +282,7 @@ static int del_disktype(blkif_t *blkif)
|
2012-01-23 22:46:39 +01:00
|
|
|
* 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. */
|