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)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:28 +0000 (22:35 +0530)
commite9a0152ba182c5ce9929ee60f83a37b61a1d5195
tree1a6a1c10bac67acfd8ddb3a191d2e2380c457f93
parent77eec1b3f1493ca4813eae2fbf8702d1ef58f147
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