hw/9pfs: use migration blockers to prevent live migration when virtfs export path...
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:28 +0000 (22:35 +0530)
committerJustin M. Forbes <jforbes@redhat.com>
Tue, 10 Jan 2012 15:26:39 +0000 (09:26 -0600)
commit15d53367af3256d18d0877a71747db8dc14961bb
tree9f2eab4aeaf20c276e32f8865477f228f608691f
parent989c8ffb3e4dc2fef2101f8de73fbbe447a6b03e
hw/9pfs: use migration blockers to prevent live migration when virtfs export path is mounted

Now when you try to migrate with VirtFS export path mounted, you get a proper QMP error:

(qemu) migrate tcp:localhost:4444
Migration is disabled when VirtFS export path '/tmp/' is mounted in the guest using mount_tag 'v_tmp'
(qemu)

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p.c
hw/9pfs/virtio-9p.h
qerror.c
qerror.h