OSDN Git Service

COLO: Move some trace code behind qemu_mutex_unlock_iothread()
authorRao, Lei <lei.rao@intel.com>
Tue, 14 Dec 2021 17:19:45 +0000 (01:19 +0800)
committerJuan Quintela <quintela@redhat.com>
Wed, 15 Dec 2021 09:31:42 +0000 (10:31 +0100)
commit9c5c8ff24e2cc9b4db76c33aa360563407832656
treec0c192b46149f1e6fffd41d8027e74a2b9bd258a
parent077fbb5942b56826f731de16caae3122a30aab22
COLO: Move some trace code behind qemu_mutex_unlock_iothread()

There is no need to put some trace code in the critical section.
So, moving it behind qemu_mutex_unlock_iothread() can reduce the
lock time.

Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/colo.c