qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] Stop reinit of XBZRLE.lock


From: Dr. David Alan Gilbert (git)
Subject: [Qemu-devel] [PATCH v2 0/2] Stop reinit of XBZRLE.lock
Date: Wed, 19 Mar 2014 18:32:29 +0000

From: "Dr. David Alan Gilbert" <address@hidden>

Markus Armbruster spotted that the XBZRLE.lock might get initalised
multiple times in the case of a second attempted migration, and
that's undefined behaviour for pthread_mutex_init.

This patchset is based on Markus' proto-patch in the discussions
off v1.

--
v2
   Rework completely based on Markus's patch

Dr. David Alan Gilbert (2):
  Provide init function for ram migration
  Init the XBZRLE.lock in ram_mig_init

 arch_init.c                   | 68 +++++++++++++++++++++++--------------------
 include/migration/migration.h |  2 --
 include/sysemu/arch_init.h    |  1 +
 vl.c                          |  3 +-
 4 files changed, 39 insertions(+), 35 deletions(-)

-- 
1.8.5.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]