[Top][All Lists]

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

[Qemu-devel][bug] qemu crash when migrate vm and vm's disks

From: Yuchen
Subject: [Qemu-devel][bug] qemu crash when migrate vm and vm's disks
Date: Thu, 8 Apr 2021 09:04:58 +0000

When migrate vm and vm’s disks target host qemu crash due to an invalid free.


#0  object_unref (obj=0x1000) at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/qom/object.c:920

#1  0x0000560434d79e79 in memory_region_unref (mr=<optimized out>)

    at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/memory.c:1730

#2  flatview_destroy (view=0x560439653880) at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/memory.c:292

#3  0x000056043514dfbe in call_rcu_thread (opaque=<optimized out>)

    at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/util/rcu.c:284

#4  0x00007fbc2b36fe25 in start_thread () from /lib64/libpthread.so.0

#5  0x00007fbc2b099bad in clone () from /lib64/libc.so.6


test base qemu-2.12.0but use lastest qemu(v6.0.0-rc2) also reproduce.

As follow patch can resolve this problem:



Steps to reproduce:

(1) Create VM (virsh define)

(2) Add 64 virtio scsi disks

(3) migrate vm and vm’disks

This e-mail and its attachments contain confidential information from New H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!

reply via email to

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