On 10/01/2015 02:01 PM, Paolo Bonzini wrote:
>
>
> On 01/10/2015 18:34, John Snow wrote:
>> +
>> +error_setg(&blocker, "Block device(s) are in use by a Block
>> Transaction");
>
> s/Block Transaction/transaction command/
>
> But how can migration start during a transaction?
>
Well, it
On 01/10/2015 18:34, John Snow wrote:
> +
> +error_setg(&blocker, "Block device(s) are in use by a Block
> Transaction");
s/Block Transaction/transaction command/
But how can migration start during a transaction?
> +ret = migrate_add_blocker(blocker, errp);
> +if (ret < 0) {
> +
Similarly to BlockJobs, prohibit migration at least
during the synchronous phase of a transaction.
In particular, this guards internal and external
snapshots, which are implemented via transaction actions
through blockdev_do_action.
Signed-off-by: John Snow
---
blockdev.c | 12
1 f