]> Git Repo - qemu.git/commit
virtio-9p: add savem handlers
authorGreg Kurz <[email protected]>
Thu, 22 Oct 2015 17:38:42 +0000 (19:38 +0200)
committerMichael S. Tsirkin <[email protected]>
Thu, 12 Nov 2015 14:40:14 +0000 (16:40 +0200)
commit4652f1640e029e1f2433fa77ba6af285c7cd923a
treefd320cd9ffea42b59149b8cd54585e5c025dd20f
parent1811e64c35fe1d9bce77952937a16c001dc08465
virtio-9p: add savem handlers

We don't support migration of mounted 9p shares. This is handled by a
migration blocker.

One would expect, however, to be able to migrate if the share is unmounted.
Unfortunately virtio-9p-device does not register savevm handlers at all !
Migration succeeds and leaves the guest with a dangling device...

This patch simply registers migration handlers for virtio-9p-device. Whether
migration is possible or not still depends on the migration blocker.

Signed-off-by: Greg Kurz <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/9pfs/virtio-9p-device.c
This page took 0.024241 seconds and 4 git commands to generate.