]> git.proxmox.com Git - mirror_qemu.git/commit - migration/savevm.c
migration: add savevm_state_handler_remove()
authorScott Cheloha <cheloha@linux.vnet.ibm.com>
Thu, 17 Oct 2019 20:59:52 +0000 (15:59 -0500)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:22 +0000 (09:10 +0100)
commitbd5de61e7b926b5bb9dae254630bf3c8be575bc0
tree17ca4a3b5da855e03cc1fb833c8c28b6266c0b52
parent619bd31d1f7cc5878e75e989a78d6f1c79356d4a
migration: add savevm_state_handler_remove()

Create a function to abstract common logic needed when removing a
SaveStateEntry element from the savevm_state.handlers queue.

For now we just remove the element.  Soon it will involve additional
cleanup.

Signed-off-by: Scott Cheloha <cheloha@linux.vnet.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/savevm.c