|
@@ -1562,15 +1562,6 @@ static bool virtio_blk_vq_aio_context_init(VirtIOBlock *s, Error **errp)
|
|
|
error_setg(errp, "ioeventfd is required for iothread");
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
- /*
|
|
|
- * If ioeventfd is (re-)enabled while the guest is running there could
|
|
|
- * be block jobs that can conflict.
|
|
|
- */
|
|
|
- if (blk_op_is_blocked(conf->conf.blk, BLOCK_OP_TYPE_DATAPLANE, errp)) {
|
|
|
- error_prepend(errp, "cannot start virtio-blk ioeventfd: ");
|
|
|
- return false;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
s->vq_aio_context = g_new(AioContext *, conf->num_queues);
|