Revision b0f2027c hw/block/dataplane/virtio-blk.c
b/hw/block/dataplane/virtio-blk.c | ||
---|---|---|
415 | 415 |
return false; |
416 | 416 |
} |
417 | 417 |
|
418 |
/* If dataplane is (re-)enabled while the guest is running there could be |
|
419 |
* block jobs that can conflict. |
|
420 |
*/ |
|
421 |
if (bdrv_in_use(blk->conf.bs)) { |
|
422 |
error_report("cannot start dataplane thread while device is in use"); |
|
423 |
return false; |
|
424 |
} |
|
425 |
|
|
418 | 426 |
fd = raw_get_aio_fd(blk->conf.bs); |
419 | 427 |
if (fd < 0) { |
420 | 428 |
error_report("drive is incompatible with x-data-plane, " |
Also available in: Unified diff