]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: provide ram_state_cleanup
authorPeter Xu <peterx@redhat.com>
Thu, 19 Oct 2017 06:31:58 +0000 (14:31 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 23 Oct 2017 16:03:36 +0000 (18:03 +0200)
commit7d7c96be7b25f285b3759ec0545bbe82dd0d8076
treec60b22a87307e6251b5d1a89d0b3ad2bc899258d
parent7d00ee6ad6c2dbeeb68e8d5343ec77bc5873d8f8
migration: provide ram_state_cleanup

There are two Mutexes that are created but not yet destroyed for
RAMState.  Fix that.

Since we are at it, provide helper function to clean up RAMState.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c