]> git.proxmox.com Git - mirror_qemu.git/commit - block/snapshot.c
migration: implement bdrv_all_find_vmstate_bs helper
authorDenis V. Lunev <den@openvz.org>
Thu, 19 Nov 2015 06:42:10 +0000 (09:42 +0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 19 Nov 2015 10:50:00 +0000 (11:50 +0100)
commit7cb14481498e7acd969a76b53be0535cd90f7d53
tree53e94877d1e4dae89962a5199694c03255603629
parent0b46160521ab72744da94988583a45d4d45e2986
migration: implement bdrv_all_find_vmstate_bs helper

The patch also ensures proper locking for the operation.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Tested-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
block/snapshot.c
include/block/snapshot.h
migration/savevm.c