• G
    virtio-9p: add savem handlers · 4652f164
    Greg Kurz 提交于
    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: NGreg Kurz <gkurz@linux.vnet.ibm.com>
    Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    4652f164
virtio-9p-device.c 5.2 KB