ivshmem: use migration blockers to prevent live migration in peer mode (v2)
commit38e0735eb76a1479917ef3501a208d4f70998494
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Nov 2011 21:09:44 +0000 (14 15:09 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Nov 2011 20:58:35 +0000 (21 14:58 -0600)
tree4a41825899c8630890b7782bb314eac5739ee20c
parentfa2756b71b73e8cd94f7d8964ad5e2aca4d2691c
ivshmem: use migration blockers to prevent live migration in peer mode (v2)

Now when you try to migrate with ivshmem, you get a proper QMP error:

(qemu) migrate tcp:localhost:1025
Migration is disabled when using feature 'peer mode' in device 'ivshmem'
(qemu)

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ivshmem.c
qerror.c
qerror.h
savevm.c