[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] question: I found a bug which will lead to qemu crash
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-devel] question: I found a bug which will lead to qemu crash |
Date: |
Tue, 12 Sep 2017 15:51:36 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Tue 12 Sep 2017 03:37:09 PM CEST, WangJie (Captain) wrote:
> the patch which fixed the bug is:
> https://github.com/qemu/qemu/commit/1606e4cf8a976513ecac70ad6642a7ec45744cf5#diff-7cb66df56045598b75a219eebc27efb6
Oh, now I remember. Here's the bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1428810
> But the condition which I made to causes crash is differ in the
> condition you described in patch info, is it the same reason?
How is it different? Doesn't the script that you posted do exactly that?
(hot-unplug)
>> *3、run below script for a while,the qemu process of VM will crash*
>> ret=1
>> while [ $ret -ne 0 ]; do
>> virsh attach-device i-clone203_rhel_7.3_64_guestosdev add-1.xml
>> sleep 2
>> virsh detach-device i-clone203_rhel_7.3_64_guestosdev add-1.xml
>> done
It makes total sense that that patch fixes the problem. Without it, a
deleted BlockBackend remains in a throttling group, which explains your
backtrace.
Berto