diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-14 15:09:43 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-21 14:57:22 -0600 |
commit | fa2756b71b73e8cd94f7d8964ad5e2aca4d2691c (patch) | |
tree | bb9ed751b926fdc4577213cf95ddb52a45480e56 /block.h | |
parent | a3baf1be673221752c82015b4b9157f23dfc6fd6 (diff) |
migrate: add migration blockers
This lets different subsystems register an Error that is thrown whenever
migration is attempted. This works nicely because it gracefully supports
things like hotplug.
Right now, if multiple errors are registered, only one of them is reported.
I expect that for 1.1, we'll extend query-migrate to return all of the reasons
why migration is disabled at any given point in time.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.h')
0 files changed, 0 insertions, 0 deletions