qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c6e5ba: migration/ram.c: Fix codes conflict a


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] c6e5ba: migration/ram.c: Fix codes conflict about bitmap_m...
Date: Sun, 07 Apr 2019 06:54:27 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c6e5bafb6ff330e972eae7b823321143ab3e29e2
      
https://github.com/qemu/qemu/commit/c6e5bafb6ff330e972eae7b823321143ab3e29e2
  Author: Zhang Chen <address@hidden>
  Date:   2019-04-05 (Fri, 05 Apr 2019)

  Changed paths:
    M migration/ram.c

  Log Message:
  -----------
  migration/ram.c: Fix codes conflict about bitmap_mutex

I found upstream codes conflict with COLO and lead to crash,
and I located to this patch:

commit 386a907b37a9321bc5d699bc37104d6ffba1b34d
Author: Wei Wang <address@hidden>
Date:   Tue Dec 11 16:24:49 2018 +0800

migration: use bitmap_mutex in migration_bitmap_clear_dirty

My colleague Wei's patch add bitmap_mutex in migration_bitmap_clear_dirty,
but COLO didn't initialize the bitmap_mutex. So we always get an error
when COLO start up. like that:
qemu-system-x86_64: util/qemu-thread-posix.c:64: qemu_mutex_lock_impl: 
Assertion `mutex->initialized' failed.

This patch add the bitmap_mutex initialize and destroy in COLO
lifecycle.

Signed-off-by: Zhang Chen <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Wei Wang <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>


  Commit: d013283a46e1f197594e76ed320f867067ab80b3
      
https://github.com/qemu/qemu/commit/d013283a46e1f197594e76ed320f867067ab80b3
  Author: Juan Quintela <address@hidden>
  Date:   2019-04-05 (Fri, 05 Apr 2019)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  migration: Fix migrate_set_parameter

Otherwise we are setting err twice, what is wrong and causes an abort.

Signed-off-by: Juan Quintela <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 90fb864a7df0a9af677352e94f8225f7b03de922
      
https://github.com/qemu/qemu/commit/90fb864a7df0a9af677352e94f8225f7b03de922
  Author: Peter Maydell <address@hidden>
  Date:   2019-04-06 (Sat, 06 Apr 2019)

  Changed paths:
    M hmp.c
    M migration/ram.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20190405a' 
into staging

Migration fixes pull for 4.0

A couple of fixes for crashes in colo and
migration parameters.

# gpg: Signature made Fri 05 Apr 2019 16:47:38 BST
# gpg:                using RSA key 45F5C71B4A0CB7FB977A9FA90516331EBC5BFDE7
# gpg: Good signature from "Dr. David Alan Gilbert (RH2) <address@hidden>" 
[full]
# Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7

* remotes/dgilbert/tags/pull-migration-20190405a:
  migration: Fix migrate_set_parameter
  migration/ram.c: Fix codes conflict about bitmap_mutex

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/10546e09e174...90fb864a7df0



reply via email to

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